Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1740524

Re: percpu allocation failures

From Luis Henriques <lhenriques@suse.com>
Newsgroups linux.kernel
Subject Re: percpu allocation failures
Date 2017-09-27 11:10 +0200
Message-ID <uugvT-kx-7@gated-at.bofh.it> (permalink)
References <uu07N-6zu-27@gated-at.bofh.it> <uu9NM-4b6-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Dennis Zhou <dennisszhou@gmail.com> writes:

> Hi Luis,
>
> This seems to be an issue with the reserved chunk being unable to
> allocate memory when loading kernel modules. Unfortunately, I have not 
> been successful in reproducing this with the reserved chunk allocation
> path exposed or by inserting the nft_meta module.
>
> Could you please send me the output when ran with the following patch
> and the output of the percpu memory statistics file before and after
> inserting the module (PERCPU_STATS)? The stats are in
> /sys/kernel/debug/percpu_stats.

Please find attached all the info you requested.  Hope it helps.

Also, here's the nft script I'm using to trigger the issue locally:

#!/usr/sbin/nft -f

flush ruleset

table inet filter {
	chain input {
		type filter hook input priority 0;
		iif lo accept
		ct state established,related accept
		tcp dport { 22 } ct state new accept
		ip6 nexthdr icmpv6 icmpv6 type { nd-neighbor-solicit,  nd-router-advert, nd-neighbor-advert } accept
		counter drop
	}
}

Cheers,
-- 
Luis

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: percpu allocation failures Dennis Zhou <dennisszhou@gmail.com> - 2017-09-27 04:00 +0200
  Re: percpu allocation failures Luis Henriques <lhenriques@suse.com> - 2017-09-27 11:10 +0200

csiph-web