Re: [PATCH v2] um/mm: remove redundant assignment of max_low_pfn

2024-07-22 Thread Wei Yang
Would someone pick up this one? On Sat, Jun 15, 2024 at 03:41:50AM +, Wei Yang wrote: >Current calculation of max_low_pfn is introduced in commit af84eab20891 >("[PATCH] uml: fix LVM crash"). It is intended to set max_low_pfn to the >same value as max_pfn. > >But I am not sure why the max_pfn

Re: [PATCH v2] um/mm: remove redundant assignment of max_low_pfn

2024-06-15 Thread Mike Rapoport
On Sat, Jun 15, 2024 at 03:41:50AM +, Wei Yang wrote: > Current calculation of max_low_pfn is introduced in commit af84eab20891 > ("[PATCH] uml: fix LVM crash"). It is intended to set max_low_pfn to the > same value as max_pfn. > > But I am not sure why the max_pfn is set to totalram_pages, wh

[PATCH v2] um/mm: remove redundant assignment of max_low_pfn

2024-06-14 Thread Wei Yang
Current calculation of max_low_pfn is introduced in commit af84eab20891 ("[PATCH] uml: fix LVM crash"). It is intended to set max_low_pfn to the same value as max_pfn. But I am not sure why the max_pfn is set to totalram_pages, which represents the number of usable pages in system instead of an ab