[lkml]   [2008]   [Jun]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [RFC] configfs: module reference counting rules
On Mon, Jun 16, 2008 at 08:14:28PM +0200, Louis Rilling wrote:
> With a preemptible kernel, after module_put(self) the few assembly instructions
> cleaning up the stack before returning to the caller can be called after the
> memory allocated for the module has been freed. Which will make the kernel
> crash.

Ahh, but if you are running a preemptible kernel, you've already
made your first mistake :-)



"Vote early and vote often."
- Al Capone

Joel Becker
Principal Software Developer
Phone: (650) 506-8127

 \ /
  Last update: 2008-06-16 21:39    [W:0.045 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site