Re: [PATCH net 1/2] net/sched: pfifo_fast: cap ring size and account to memcg
Jakub Kicinski <[email protected]>
| Newsgroups | org.kernel.vger.netdev,org.kernel.vger.stable |
|---|---|
| Message-ID | <[email protected]> |
On Thu, 20 Aug 2026 05:57:41 -0400 Jamal Hadi Salim wrote:
> + if (qlen > 65535) {
> + pr_warn_ratelimited("pfifo_fast: capping ring size %u to 65535 for dev %s\n",
> + qlen, qdisc_dev(qdisc)->name);
> + qlen = 65535;
> + }
Why not a hard cap? We do that all over the place, once in a release we
pick a value too small and someone quickly sends us a fix up to bump
the number. No problem.