All of lore.kernel.org
 help / color / mirror / Atom feed
* tlb_batch_add_one()
@ 2017-03-29  0:52 David Miller
  2017-03-30 20:22 ` tlb_batch_add_one() David Miller
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: David Miller @ 2017-03-29  0:52 UTC (permalink / raw)
  To: sparclinux


There seems to be some disagreement about how the hugepage state is
passed into tlb_batch_add().  It's declared as an integer shift, but
there are call sites that pass it in the old way, as a boolean.

For example, all of the call sites in tlb_batch_pmd_scan(), which
likely should be passing PAGE_SHIFT.  Passing true or false in these
spots can't be right.

I also noticed that there appears to be generic support for handling
the need to flush on page size changes during tlb batching, have
a look at __tlb_remove_page_size(), and the new arch overridable
hook tlb_remove_check_page_size_change().

Thanks.

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

end of thread, other threads:[~2017-03-31  3:34 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-29  0:52 tlb_batch_add_one() David Miller
2017-03-30 20:22 ` tlb_batch_add_one() David Miller
2017-03-30 20:47 ` tlb_batch_add_one() Nitin Gupta
2017-03-30 21:25 ` tlb_batch_add_one() David Miller
2017-03-30 21:54 ` tlb_batch_add_one() David Miller
2017-03-30 22:12 ` tlb_batch_add_one() Nitin Gupta
2017-03-30 23:59 ` tlb_batch_add_one() Nitin Gupta
2017-03-31  0:42 ` tlb_batch_add_one() Nitin Gupta
2017-03-31  2:46 ` tlb_batch_add_one() Nitin Gupta
2017-03-31  2:57 ` tlb_batch_add_one() David Miller
2017-03-31  3:12 ` tlb_batch_add_one() Nitin Gupta
2017-03-31  3:34 ` tlb_batch_add_one() David Miller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.