lkml.org 
[lkml]   [2008]   [May]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch 10/21] buffer heads: Support slab defrag
On Mon, 19 May 2008, David Chinner wrote:

> Defragmentation is triggered as part of the usual memory reclaim
> process. Which implies we've run out of free memory, correct?

Yes but we have already reclaimed some memory.

> > How do you trigger such a special writeout?
>
> filemap_fdatawrite_range() perhaps?

Could you provide me such a patch? I would not know how much to writeout.
If we had such a method then we could also use that for the swap case
where we also write out single pages?


\
 
 \ /
  Last update: 2008-05-19 18:47    [W:0.233 / U:1.544 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site