Re: [RFC PATCH] s390: mm: rmap: Transfer storage key to struct pageunder the page lock

From: Hugh Dickins
Date: Wed Apr 18 2012 - 13:09:47 EST


On Wed, 18 Apr 2012, Mel Gorman wrote:
> On Tue, Apr 17, 2012 at 08:52:21PM -0700, Hugh Dickins wrote:
> >
> > It's a no-brainer workaround: patch and more explanation below. I
> > can double-fix it if you prefer, but the one-liner appeals more to me.

(I became much happier about fixing it from this end, once I understood
how the situation came about. What I had disliked with yours, was an
admitted ugly patch, when we didn't even understand the root cause.)

>
> Ok, fair enough. While I think swapper space will eventually use the dirty
> tag information that day is not today.

Yes, it's never been self-evident to me, why swap should not participate
in any of the dirty writeback stuff. But we've got along for years that
way, and as you say, won't be changing it right now.

> Acked-by: Mel Gorman <mgorman@xxxxxxx>
>
> I've sent a kernel based on this patch to the s390 folk that originally
> reported the bug. Hopefully they'll test and get back to me in a few
> days.

Thanks - I'll leave it at that for the moment, expecting to hear back.

Hugh
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/