lkml.org 
[lkml]   [2008]   [Apr]   [1]   [last100]   RSS Feed
Views: [more markup]   [less markup]   [headers]   [forward]  
 
Messages in this thread
/
DateTue, 01 Apr 2008 18:14:50 +0300
FromAdrian Hunter <>
SubjectRe: [RFC PATCH 20/26] UBIFS: add VFS operations
Artem Bityutskiy wrote:
> Pekka Enberg wrote:
>>>  Yeah, this is also a guarding thing. When a dirty page is released
>>>  the budget which was allocated for it has to be freed. If this function
>>>  is called, then the budget was not freed, which must never happen.
>>
>> So what guarantees that no one calls invalidate_complete_page() or
>> fallback_migrate_page(), for example?
> 
> At the first glance it looks like it might be called, but for clean pages,
> which is not the problem, but there is this assert which may give fake
> alarm. Need to look closer at this. Thanks for the note.

Dirty pages are not released.

In UBIFS, clean pages do not have PagePrivate(page) set and so releasepage() is not called.
--
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: 2008-04-01 15:37    [W:1.543 / U:0.180 seconds]
©2003-2008 Jasper Spaans