Re: [PATCH] s390: Remove PageDirty check inside mk_pte()

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

 



On Wed, Feb 12, 2025 at 02:08:06PM +0100, Claudio Imbrenda wrote:
> On Wed, 12 Feb 2025 13:44:58 +0100
> Alexander Gordeev <agordeev@xxxxxxxxxxxxx> wrote:
> 
> [...]
> 
> > The above is however not exactly the same, since set_pte_range() -> set_ptes()
> > dirtyfies all PTEs in a folio - unlike the current s390 implementation, which
> > dirtyfies a single PTE based on its struct page flag.
> 
> I have not looked enough into this specific matter to actually have an
> opinion, but I just want to quickly point out that in the next couple
> of years struct page as we know it will go away, and flags will only be
> per-folio anyway.

Most flags have been per-allocation rather than per-page for many years.
Specifically, the dirty flag has been per-allocation since January 2016
in commit df8c94d13c7e




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

  Powered by Linux