cvs commit: src/sys/amd64/linux32 syscalls.master src/sys/compat/linux linux_ioctl.c src/sys/i386/linux syscalls.master

Scott Long scottl at samsco.org
Thu Jul 6 21:53:56 UTC 2006


John Baldwin wrote:
> jhb         2006-07-06 21:42:36 UTC
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sys/amd64/linux32    syscalls.master 
>     sys/compat/linux     linux_ioctl.c 
>     sys/i386/linux       syscalls.master 
>   Log:
>   - Protect the list of linux ioctl handlers with an sx lock.
>   - Hold Giant while calling linux ioctl handlers for now as they aren't all
>     known to be MPSAFE yet.
>   - Mark linux_ioctl() MPSAFE.
>   
>   Revision  Changes    Path
>   1.15      +1 -1      src/sys/amd64/linux32/syscalls.master
>   1.137     +17 -0     src/sys/compat/linux/linux_ioctl.c
>   1.72      +1 -1      src/sys/i386/linux/syscalls.master

Why not add the small bit of infrastucture so that modules can declare 
their handlers as MPSAFE or not?  There are certainly some drivers that
would benefit from this.

Scott



More information about the cvs-src mailing list