[Devel] [PATCH rh7 00/12] replace remap_file_pages() syscall with emulation

Cyrill Gorcunov gorcunov at virtuozzo.com
Mon Oct 3 06:51:18 PDT 2016


On Mon, Oct 03, 2016 at 04:20:48PM +0300, Andrey Ryabinin wrote:
> Backported patchset "Workaround for Xeon Phi PTE A/D bits erratum"
> caused - kernel BUG at mm/rmap.c:1305!
> 
> _PAGE_BIT_FILE is not present in upstream but still present
> in RHEL7 kernel, so they did this:
>    /* Pick a bit unaffected by the "KNL4 erratum": */
>    #define _PAGE_BIT_FILE      _PAGE_BIT_PSE
> 
> This conflicts with ours code:
>    #define _PAGE_SWP_SOFT_DIRTY	_PAGE_PSE
> 
> It seems that the best way to fix this is to get rid of _PAGE_FILE alltogether.

Looks ok to me, we need a softdirty tracker!
Reviewed-by: Cyrill Gorcunov <gorcunov at openvz.org>


More information about the Devel mailing list