linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* HMM hmm_range parameter usage
@ 2022-06-06 12:27 Bharat Kumar Gogada
  2022-06-06 13:56 ` Alistair Popple
  0 siblings, 1 reply; 2+ messages in thread
From: Bharat Kumar Gogada @ 2022-06-06 12:27 UTC (permalink / raw)
  To: linux-mm; +Cc: jglisse

Hi All,

In 5.4 kernel hmm_range structure has pfn_shift parameter. 
This parameter is removed in the latest kernel.

Can any one help me understand usage of this parameter ?

In 5.4 kernel, if this parameter set to PAGE_SHIFT, does it mean HMM framework 
expects user buffers to be 4K aligned, i.e which are allocated via mmap/aligned_alloc ?

Does HMM have any alignment requirements in 5.4 or current kernel ? Will it work 
with buffers allocated via malloc ?

Regards,
bharat 

 


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-06-06 13:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-06 12:27 HMM hmm_range parameter usage Bharat Kumar Gogada
2022-06-06 13:56 ` Alistair Popple

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox