Re: [RFC PATCH 00/18] use struct ptdesc to replace pgtable_t

2024-08-15 Thread Alex Shi
On 8/15/24 12:50 AM, LEROY Christophe wrote: > Hi, > > Le 30/07/2024 à 08:46, al...@kernel.org a écrit : >> From: Alex Shi >> >> We have struct ptdesc for page table descriptor a year ago, but it >> has no much usages in kernel, while pgtable_t is used widely. >> >> The pgtable_t is typedefed

Re: [RFC PATCH 00/18] use struct ptdesc to replace pgtable_t

2024-08-15 Thread Alex Shi
On 8/15/24 1:13 AM, Matthew Wilcox wrote: > On Tue, Jul 30, 2024 at 02:46:54PM +0800, al...@kernel.org wrote: >> We have struct ptdesc for page table descriptor a year ago, but it >> has no much usages in kernel, while pgtable_t is used widely. > > Hum, I thought I responded to this to point ou

Re: [RFC PATCH 00/18] use struct ptdesc to replace pgtable_t

2024-08-14 Thread Matthew Wilcox
On Tue, Jul 30, 2024 at 02:46:54PM +0800, al...@kernel.org wrote: > We have struct ptdesc for page table descriptor a year ago, but it > has no much usages in kernel, while pgtable_t is used widely. Hum, I thought I responded to this to point out the problem, but I don't see the response anywhere,

Re: [RFC PATCH 00/18] use struct ptdesc to replace pgtable_t

2024-08-14 Thread LEROY Christophe
Hi, Le 30/07/2024 à 08:46, al...@kernel.org a écrit : > From: Alex Shi > > We have struct ptdesc for page table descriptor a year ago, but it > has no much usages in kernel, while pgtable_t is used widely. > > The pgtable_t is typedefed as 'pte_t *' in sparc, s390, powerpc and m68k > except SUN

Re: [RFC PATCH 00/18] use struct ptdesc to replace pgtable_t

2024-07-30 Thread Alex Shi
BTW, the patchset based on the latest git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm mm-unstable branch. On 7/30/24 2:46 PM, al...@kernel.org wrote: > From: Alex Shi > > We have struct ptdesc for page table descriptor a year ago, but it > has no much usages in kernel, while pgtable_t is

[RFC PATCH 00/18] use struct ptdesc to replace pgtable_t

2024-07-30 Thread alexs
From: Alex Shi We have struct ptdesc for page table descriptor a year ago, but it has no much usages in kernel, while pgtable_t is used widely. The pgtable_t is typedefed as 'pte_t *' in sparc, s390, powerpc and m68k except SUN3, others archs are all same as 'struct page *'. These blocks the co