Re: [PATCH 0/3] PTE formats changes

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

 



On 5 September 2014 03:03, Leonid Yegoshin <Leonid.Yegoshin@xxxxxxxxxx> wrote:
> The following series implements bugfix of PTE formats for swap and file entries
> and changes PTE bit position to fixed, which is more better for analysing of
> tracer and HW debugger logs.
>
> Hardcoded bits positions and offsets in PTE effectively causes a miss of
> relationship between PTE format for TLB and PTE formats for swap and file
> entries. This patch series introduces a symbolic relation between both and
> also fixes a current mismatch of formats. It can crash kernel or application
> in heavy paging environment.
>
> Fixed bit positions helps much in analysing of tracer and HW debugger logs and
> improves performance and code size a little due to absence of variable masks
> in kernel.

Well, this is definitely above my low-level-arch skills to review
this. FWIW kernel with these patches still boots on my BCM5357B0
(router with 32 MiB of RAM).

This pgtable* reminds me of highmem support for bcm47xx, unfortunately
I don't have any device with 256 MiB of RAM to test it.

-- 
Rafał


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux