Re: [PATCH v5] arch/ia64: Restore arch-specific pgd_offset_k implementation

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

 



On Thu, Aug 13, 2020 at 11:55:21PM +0300, Mike Rapoport wrote:
> +/*
> + * In the kernel's mapped region we know everything is in region number 5, so
> + * as an optimisation its PGD already points to the area for that region.

Is it actually an optimisation?  Are there any benchmarks where this
makes any difference whatsoever?  Or should the comment be closer to

/* ia64 is gratuitously different.  Cope with it. */

I might suggest that pgd be changed to be the same as every other pgd
in the system, and every other architecture.




[Index of Archives]     [Linux Kernel]     [Sparc Linux]     [DCCP]     [Linux ARM]     [Yosemite News]     [Linux SCSI]     [Linux x86_64]     [Linux for Ham Radio]

  Powered by Linux