Re: [PATCH] mm: fix pfn spans two sections in has_unmovable_pages()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05/12/2016 01:58 PM, Xishi Qiu wrote:
On 2016/5/12 19:36, Vlastimil Babka wrote:

On 05/09/2016 12:02 PM, Xishi Qiu wrote:

Sounds ok, please try.


Hi Vlastimil and Naoya,

The mainline doesn't have this problem, because commit
add05cecef80 ("mm: soft-offline: don't free target page in successful
page migration") fixed it in v4.2.

I guess the above patch can't be applied to older kernel directly.
So shall we rewrite a new one or backport the whole patches which it depend?

I think it makes most sense here to write a <4.2 specific patch and send it just to stable. If the alternative of backporting add05cecef80 would be disruptive, mention that in the changelog. Try to pinpoint the commit that introduced the bug so the fix can have a proper "Fixes:" header.

Thanks,
Xishi Qiu


Thanks,
Xishi Qiu

        for (found = 0, iter = 0; iter < pageblock_nr_pages; iter++) {
            unsigned long check = pfn + iter;


.





--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]