Re: [PATCH] xen/arm32: Tidy up setup_mm()

2025-07-07 Thread Stefano Stabellini
On Fri, 4 Jul 2025, Michal Orzel wrote: > The current look and feel of setup_mm() leaves a lot to be desired. The > scope of variables is not the best, many variables are not really needed > while some others are set but not used. The first iteration of membanks > is split from the loop for no reas

Re: [PATCH] xen/arm32: Tidy up setup_mm()

2025-07-07 Thread Hari Limaye
Hi Michal, > On Fri, Jul 04, 2025 at 11:08:31AM +, Michal Orzel wrote: > The current look and feel of setup_mm() leaves a lot to be desired. The > scope of variables is not the best, many variables are not really needed > while some others are set but not used. The first iteration of membanks

[PATCH] xen/arm32: Tidy up setup_mm()

2025-07-04 Thread Michal Orzel
The current look and feel of setup_mm() leaves a lot to be desired. The scope of variables is not the best, many variables are not really needed while some others are set but not used. The first iteration of membanks is split from the loop for no reason. Tidy up this function for better readability