linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] treewide: Make definitions of struct kernel_param_ops const
@ 2020-10-04  0:18 Joe Perches
  2020-10-04  0:18 ` [PATCH 4/4] mm/zswap: Make struct kernel_param_ops definitions const Joe Perches
  2020-10-04  1:19 ` Where is the declaration of buffer used in kernel_param_ops .get functions? Joe Perches
  0 siblings, 2 replies; 5+ messages in thread
From: Joe Perches @ 2020-10-04  0:18 UTC (permalink / raw)
  To: Sean Christopherson, Vitaly Kuznetsov, Wanpeng Li, Jim Mattson,
	Joerg Roedel, Steven Rostedt, Mathieu Desnoyers, Lai Jiangshan,
	Joel Fernandes, kvm-ppc, kvm, rcu, linux-mm
  Cc: linuxppc-dev, linux-kernel

Using const is good as it reduces data size.

Joe Perches (4):
  KVM: PPC: Book3S HV: Make struct kernel_param_ops definition const
  kvm x86/mmu: Make struct kernel_param_ops definitions const
  rcu/tree: Make struct kernel_param_ops definitions const
  mm/zswap: Make struct kernel_param_ops definitions const

 arch/powerpc/kvm/book3s_hv.c | 2 +-
 arch/x86/kvm/mmu/mmu.c       | 4 ++--
 kernel/rcu/tree.c            | 4 ++--
 mm/zswap.c                   | 6 +++---
 4 files changed, 8 insertions(+), 8 deletions(-)

-- 
2.26.0



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

end of thread, other threads:[~2020-10-04  2:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-04  0:18 [PATCH 0/4] treewide: Make definitions of struct kernel_param_ops const Joe Perches
2020-10-04  0:18 ` [PATCH 4/4] mm/zswap: Make struct kernel_param_ops definitions const Joe Perches
2020-10-04  1:19 ` Where is the declaration of buffer used in kernel_param_ops .get functions? Joe Perches
2020-10-04  1:36   ` Matthew Wilcox
2020-10-04  2:11     ` Joe Perches

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).