lkml.org 
[lkml]   [2011]   [Nov]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
Subjectwhat's the replace for the big kernel lock after kernel version 2.6.39 for system call.
Hi all,

I have a trouble of working on kernel 2.6.39 and later. Originally when our kernel module startups, it hooks some file system call, like sys_open... , and the big kernel lock - lock_kernel() - will be held before creating the hook to prevent user application use system calls, and be released after the hook created.


But after the kernel 2.6.39, the big kernel lock has been removed. I'm thinking there should be one or more lock that should be used.

So, my question is which lock should be held now, when we hook the system call of file system?

I'd really appreciate your answer in advance.


--

>>>> auth ca64a8ac subscribe linux-kernel wenyan_xin@symantec.com
Succeeded.


\
 
 \ /
  Last update: 2011-11-28 10:11    [W:1.131 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site