lkml.org 
[lkml]   [2003]   [Dec]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: aio on ramfs
William Lee Irwin III <wli@holomorphy.com> writes:
>> +static int ramfs_writepage(struct page *page, struct writeback_control *wbc)
>> +{
>> + return 0;
>> +}

On Mon, Dec 08, 2003 at 02:40:03AM +0900, OGAWA Hirofumi wrote:
> Doesn't this break the magic of shrink_list()? I think it need the
> "return WRITEPAGE_ACTIVATE;" at least.

In truth these things shouldn't be on the LRU at all, though they're
probably blindly plopped down there. My handwavy argument was that it
makes no sense to do anything with it on the LRU and that I'd nopped
out ->set_page_dirty() anyhow (i.e. PG_dirty should never get set). Does
that hold enough water or should I still hand back WRITEPAGE_ACTIVATE?


-- wli
-
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:59    [W:0.034 / U:0.232 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site