I looked at some of the memory trackers. What I'm using is on par, and
much simpler (it's like the resource tag tracking in Netware).
>
> > Also, I noticed that brw page locks the page in memory. I am not doing
> > this and am not seeing any problems, but should I? I am calling kmallov
> > with GFP_BUFFER. Does this take care of the locking problem for IO?
>
> If you don't lock the page, then you'll run into troubles if someone else
> tries to read the same page, or the system tries to reclaim the memory.
> Of course, such bugs will tend to only show up under high load.
What is the best method for this? I noticed that there is a page *
structure that uses a PG_Locked bit to flag the page structure. My
concern is that most of this stuff uses macros that can change accross
linux versions. Is this method consistent across all the Linux
versions?
Jeff
>
> -ben
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/