Anshuman Khandual
98fa15f34c
mm: replace all open encodings for NUMA_NO_NODE
...
Patch series "Replace all open encodings for NUMA_NO_NODE", v3.
All these places for replacement were found by running the following
grep patterns on the entire kernel code. Please let me know if this
might have missed some instances. This might also have replaced some
false positives. I will appreciate suggestions, inputs and review.
1. git grep "nid == -1"
2. git grep "node == -1"
3. git grep "nid = -1"
4. git grep "node = -1"
This patch (of 2):
At present there are multiple places where invalid node number is
encoded as -1. Even though implicitly understood it is always better to
have macros in there. Replace these open encodings for an invalid node
number with the global macro NUMA_NO_NODE. This helps remove NUMA
related assumptions like 'invalid node' from various places redirecting
them to a common definition.
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Anshuman Khandual <[email protected] >
Reviewed-by: David Hildenbrand <[email protected] >
Acked-by: Jeff Kirsher <[email protected] > [ixgbe]
Acked-by: Jens Axboe <[email protected] > [mtip32xx]
Acked-by: Vinod Koul <[email protected] > [dmaengine.c]
Acked-by: Michael Ellerman <[email protected] > [powerpc]
Acked-by: Doug Ledford <[email protected] > [drivers/infiniband]
Cc: Joseph Qi <[email protected] >
Cc: Hans Verkuil <[email protected] >
Cc: Stephen Rothwell <[email protected] >
Signed-off-by: Andrew Morton <[email protected] >
Signed-off-by: Linus Torvalds <[email protected] >
2019-03-05 21:07:14 -08:00
..
6lowpan
6lowpan: fix debugfs_simple_attr.cocci warnings
2019-01-22 09:51:19 +01:00
9p
802
8021q
net: Remove switchdev.h inclusion from team/bond/vlan
2019-02-24 17:40:46 -08:00
appletalk
appletalk: Fix use-after-free in atalk_proc_exit
2019-03-03 13:01:49 -08:00
atm
atm: clean up vcc_seq_next()
2019-02-16 18:12:22 -08:00
ax25
ax25: fix possible use-after-free
2019-01-23 11:18:00 -08:00
batman-adv
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2019-02-15 12:38:38 -08:00
bluetooth
Bluetooth: Add quirk for reading BD_ADDR from fwnode property
2019-02-26 10:08:26 +01:00
bpf
Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next
2019-03-04 10:14:31 -08:00
bpfilter
bpfilter: re-add header search paths to tools include to fix build error
2019-02-23 13:34:40 -08:00
bridge
Merge git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf-next
2019-03-02 14:01:04 -08:00
caif
net: caif: use skb helpers instead of open-coding them
2019-02-17 11:01:17 -08:00
can
can: bcm: check timer values before ktime conversion
2019-01-22 11:33:46 +01:00
ceph
libceph: handle an empty authorize reply
2019-02-18 18:05:33 +01:00
core
mm: replace all open encodings for NUMA_NO_NODE
2019-03-05 21:07:14 -08:00
dcb
dccp
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2019-02-08 15:00:17 -08:00
decnet
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2019-01-29 21:18:54 -08:00
dns_resolver
dsa
net: dsa: Use prepare/commit phase in dsa_slave_vlan_rx_add_vid()
2019-03-03 20:45:52 -08:00
ethernet
net/ethernet: Add parse_protocol header_ops support
2019-02-22 12:55:31 -08:00
hsr
ieee802154
net: remove unused struct inet_frag_queue.fragments field
2019-02-26 08:27:05 -08:00
ife
ipv4
net: ignore sysctl_devconf_inherit_init_net without SYSCTL
2019-03-04 13:14:34 -08:00
ipv6
net: ignore sysctl_devconf_inherit_init_net without SYSCTL
2019-03-04 13:14:34 -08:00
iucv
kcm
kcm: Remove unnecessary SLAB_PANIC for kmem_cache_create() in kcm_init
2019-02-23 13:46:24 -08:00
key
af_key: unconditionally clone on broadcast
2019-02-12 10:36:42 +01:00
l2tp
l2tp: copy 4 more bytes to linear part if necessary
2019-01-31 08:58:46 -08:00
l3mdev
lapb
llc
mac80211
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2019-02-24 12:06:19 -08:00
mac802154
mpls
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2019-03-02 12:54:35 -08:00
ncsi
netfilter
netfilter: nf_tables: merge ipv4 and ipv6 nat chain types
2019-03-01 14:36:59 +01:00
netlabel
netlabel: fix out-of-bounds memory accesses
2019-02-27 21:45:24 -08:00
netlink
rhashtable: Remove obsolete rhashtable_walk_init function
2019-02-22 13:49:00 +01:00
netrom
netrom: switch to sock timer API
2019-01-27 10:38:04 -08:00
nfc
net: nfc: Fix NULL dereference on nfc_llcp_build_tlv fails
2019-02-27 12:47:08 -08:00
nsh
openvswitch
netfilter: nat: remove nf_nat_l3proto.h and nf_nat_core.h
2019-02-27 10:54:08 +01:00
packet
net/packet: Remove redundant skb->protocol set
2019-02-22 12:55:31 -08:00
phonet
phonet: fix building with clang
2019-02-21 16:23:56 -08:00
psample
qrtr
mm: replace all open encodings for NUMA_NO_NODE
2019-03-05 21:07:14 -08:00
rds
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2019-02-08 15:00:17 -08:00
rfkill
rose
net: rose: add missing dev_put() on error in rose_bind
2019-02-19 13:22:46 -08:00
rxrpc
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2019-02-08 15:00:17 -08:00
sched
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2019-03-04 13:26:15 -08:00
sctp
sctp: call iov_iter_revert() after sending ABORT
2019-03-04 10:58:54 -08:00
smc
net/smc: allow pnetid-less configuration
2019-02-28 12:49:44 -08:00
strparser
sunrpc
Two small fixes, one for crashes using nfs/krb5 with older enctypes, one
2019-02-16 17:38:01 -08:00
switchdev
switchdev: Remove unused transaction item queue
2019-03-01 21:35:19 -08:00
tipc
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2019-03-02 12:54:35 -08:00
tls
tls: Fix tls_device receive
2019-03-03 22:10:16 -08:00
unix
missing barriers in some of unix_sock ->addr and ->path accesses
2019-02-20 20:06:28 -08:00
vmw_vsock
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2019-02-15 12:38:38 -08:00
wimax
wireless
Merge remote-tracking branch 'net-next/master' into mac80211-next
2019-02-22 13:48:13 +01:00
x25
net/x25: fix a race in x25_bind()
2019-02-23 18:41:06 -08:00
xdp
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2019-02-24 12:06:19 -08:00
xfrm
xfrm: Fix inbound traffic via XFRM interfaces across network namespaces
2019-02-18 10:58:54 +01:00
compat.c
net: fixup address-space warnings in compat_mc_{get,set}sockopt()
2019-03-03 20:58:25 -08:00
Kconfig
net: devlink: turn devlink into a built-in
2019-02-26 08:49:05 -08:00
Makefile
socket.c
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2019-03-02 12:54:35 -08:00
sysctl_net.c