lkml.org 
[lkml]   [2003]   [Nov]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectPG_reserved bug
Date
Hi,
I've found a bug in the 2.4.20 kernel (might have appeared before), that if
the PG_reserved flag is set on a page, its reference count will be
incremented but won't be decremented. This is due to the wrong order of
lazy if tests in __free_pages().

I have two questions:
1. How do I report it? I found no maintainer for MM in MAINTAINERS
2. I'm writing a module that gets pages (via __get_free_pages) and holds
them throughout its lifetime. Where must I check if this page can be taken
from under me, without using the reserved bit? In other words, if I want to
make sure the behavior is the same with or without the reserved bit, what
must I maintain?

Thanks,
Amir.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:58    [W:0.036 / U:5.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site