Re: [PATCH] vmscan: set try_to_release_page's gfp_mask to 0

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Hisashi Hifumi <hifumi.hisashi@...>
Cc: <linux-mm@...>, <linux-kernel@...>, <linux-ext4@...>, <cmm@...>
Date: Wednesday, October 15, 2008 - 6:36 pm

On Wed, 13 Aug 2008 15:24:40 +0900
Hisashi Hifumi <hifumi.hisashi@oss.ntt.co.jp> wrote:


This patch remains in a stalled state...

And then there's this:

: Probably a better fix would be to explicitly tell
: journal_try_to_free_buffers() when it need to block on journal commit,
: rather than (mis)interpreting the gfp_t in this fashion.  I assume the
: only caller who really cares is direct-io.  That would be quite a bit
: of churn, and the asynchronous behaviour perhaps makes sense _anyway_
: when called from page reclaim.
: 
: otoh, there is a risk that this change will cause page reclaim to sit
: there burning huge amounts of CPU time and not achieving anything,
: because all it is doing is scanning over busy pages.  In that case,
: blocking behind a commit which would make those pages reclaimable is
: correct behaviour.  But given that the offending code in
: journal_try_to_free_buffers() has only been there for a few weeks, I
: guess this isn't a concern.
: 
: 
: Really, I think what this patch tells us is that 3f31fddf ("jbd: fix
: race between free buffer and commit transaction") was an unpleasant
: hack which had undesirable and unexpected side-effects.  I think - that
: depends upon your as-yet-undisclosed testing results?
: 
: Perhaps we should revert 3f31fddf and have another think about how to
: fix the direct-io -EIO problem.  One option would be to hold our noses
: and add a new gfp_t flag for this specific purpose?
:
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] vmscan: set try_to_release_page's gfp_mask to 0, Hisashi Hifumi, (Tue Aug 12, 10:21 pm)
Re: [PATCH] vmscan: set try_to_release_page's gfp_mask to 0, Andrew Morton, (Wed Oct 15, 6:36 pm)
Re: [PATCH] vmscan: set try_to_release_page's gfp_mask to 0, Hisashi Hifumi, (Wed Oct 15, 10:44 pm)
Re: [PATCH] vmscan: set try_to_release_page's gfp_mask to 0, Hisashi Hifumi, (Wed Oct 15, 11:06 pm)