[Bug 241927] kernel crash in kern_cpuset_setdomain(CPU_LEVEL_CPUSET, CPU_WHICH_PID, -1, ...)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Nov 12 20:32:35 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241927

Mark Johnston <markj at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |markj at FreeBSD.org

--- Comment #1 from Mark Johnston <markj at FreeBSD.org> ---
Are you by any chance able to test on 12.1?  We had fixed a bug in
cpuset_setdomain() which is likely the one you ran into.  If not, can you
please provide a standalone reproducible?  I'm not able to crash -current with

#include <sys/param.h>                                                          
#include <sys/cpuset.h>                                                         
#include <sys/domainset.h>                                                      

#include <string.h>                                                             

int                                                                             
main(int argc, char **argv)                                                     
{                                                                               
        domainset_t ds;                                                         

        memset(&ds, 0, sizeof(ds));                                             
        cpuset_setdomain(CPU_LEVEL_CPUSET, CPU_WHICH_PID,                       
            -1, sizeof(ds), &ds, DOMAINSET_POLICY_ROUNDROBIN);                  
        return (0);                                                             
}

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list