netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] mark some slabs as visible not mergeable
@ 2018-02-24 19:04 Stephen Hemminger
  2018-02-24 19:04 ` [PATCH 1/2] slab: add flag to block merging of UAPI elements Stephen Hemminger
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Stephen Hemminger @ 2018-02-24 19:04 UTC (permalink / raw)
  To: davem, willy; +Cc: netdev, linux-mm, ikomyagin, Stephen Hemminger

This fixes an old bug in iproute2's ss command because it was
reading slabinfo to get statistics. There isn't a better API
to do this, and one can argue that /proc is a UAPI that must
not change.

Therefore this patch set adds a flag to slab to give another
reason to prevent merging, and then uses it in network code.

The patches are against davem's linux-net tree and should also
goto stable as well.

Stephen Hemminger (2):
  slab: add flag to block merging of UAPI elements
  net: mark slab's used by ss as UAPI

 include/linux/slab.h | 6 ++++++
 mm/slab_common.c     | 2 +-
 net/ipv4/tcp.c       | 3 ++-
 net/ipv4/tcp_ipv4.c  | 2 +-
 net/ipv6/tcp_ipv6.c  | 2 +-
 net/socket.c         | 6 +++---
 6 files changed, 14 insertions(+), 7 deletions(-)

-- 
2.16.1

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

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

end of thread, other threads:[~2018-02-27  1:13 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-24 19:04 [PATCH 0/2] mark some slabs as visible not mergeable Stephen Hemminger
2018-02-24 19:04 ` [PATCH 1/2] slab: add flag to block merging of UAPI elements Stephen Hemminger
2018-02-24 19:04 ` [PATCH 2/2] net: mark slab's used by ss as UAPI Stephen Hemminger
2018-02-25  3:34   ` kbuild test robot
2018-02-25  6:05   ` [net] ba4f5b62a2: kernel_BUG_at_net/socket.c kernel test robot
2018-02-24 21:05 ` [PATCH 0/2] mark some slabs as visible not mergeable Matthew Wilcox
2018-02-25 16:36 ` Stephen Hemminger
2018-02-26 20:15 ` David Miller
2018-02-26 21:46   ` Stephen Hemminger
2018-02-27  1:13     ` David Miller

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).