Thread (30 messages) 30 messages, 3 authors, 2017-06-27

Re: [RFC v3 02/23] powerpc: introduce set_hidx_slot helper

From: Ram Pai <hidden>
Date: 2017-06-27 00:17:46
Also in: linux-arch, linux-mm, lkml

On Sun, Jun 25, 2017 at 11:02:58PM -0500, Benjamin Herrenschmidt wrote:
On Mon, 2017-06-26 at 09:03 +1000, Balbir Singh wrote:
quoted
On Wed, 2017-06-21 at 18:39 -0700, Ram Pai wrote:
quoted
Introduce set_hidx_slot() which sets the (H_PAGE_F_SECOND|H_PAGE_F_GIX)
bits at  the  appropriate  location  in  the  PTE  of  4K  PTE.  In the
case of 64K PTE, it sets the bits in the second part of the PTE. Though
the implementation for the former just needs the slot parameter, it does
take some additional parameters to keep the prototype consistent.

This function will come in handy as we  work  towards  re-arranging the
bits in the later patches.
The name somewhat sucks. Something like pte_set_hash_slot() or
something like that would be much more meaningful.
ok. pte_set_hash_slot() sounds good.
RP
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help