lkml.org 
[lkml]   [2006]   [Feb]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: msync() behaviour broken for MS_ASYNC, revert patch?


On Fri, 10 Feb 2006, Andrew Morton wrote:
>
> Yes, it would make sense to run balance_dirty_pages_ratelimited() inside
> msync_pte_range(). So pdflush will get poked if we hit
> background_dirty_ratio threshold, or we go into caller-initiated writeout
> if we hit dirty_ratio.
>
> But it's not completely trivial, because I don't think we want to be doing
> blocking writeback with mmap_sem held.

Why not just do it once, at the end?

Linus
-
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: 2009-11-18 23:46    [W:0.064 / U:0.424 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site