Re: [RFC PATCH v3] sparc64: Add support for Application Data Integrity (ADI)
From: Michal Hocko <mhocko@kernel.org>
Date: 2017-01-06 09:21:33
Also in:
linux-mm, lkml, sparclinux
From: Michal Hocko <mhocko@kernel.org>
Date: 2017-01-06 09:21:33
Also in:
linux-mm, lkml, sparclinux
On Thu 05-01-17 13:30:10, Khalid Aziz wrote: [...]
It is very tempting to restrict tags to PAGE_SIZE granularity since it makes code noticeably simpler and that is indeed going to be the majority of cases. Sooner or later somebody would want to use multiple tags per page though.
I didn't get to read the patch throughly yet but I am really confused by this statement. The api is mprotect based which makes it ineherently PAGE_SIZE granular. How do you want to achieve cache line granularity with this API? And I would really vote for simplicity first... Subpage granularity sounds way too tricky... -- Michal Hocko SUSE Labs -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>