lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Thu, 5 Dec 2019 03:18:22 +0000
From:   "Li,Rongqing" <lirongqing@...du.com>
To:     Yunsheng Lin <linyunsheng@...wei.com>,
        "netdev@...r.kernel.org" <netdev@...r.kernel.org>,
        "saeedm@...lanox.com" <saeedm@...lanox.com>
Subject: 答复: 答复: 答复: 答复: 答复: [PATCH] page_pool: mark unbound node page as reusable pages


> >> [1] https://lore.kernel.org/patchwork/patch/1125789/
> >
> >
> > What is status of this patch? I think you should fix your firmware or
> > bios
> 
> Have not reached a conclusion yet.

I think it will never be accepted

> 
> >
> > Consider the below condition:
> >
> > there is two numa node, and NIC sites on node 2, but NUMA_NO_NODE is
> > used, recycle will fail due to page_to_nid(page) == numa_mem_id(), and
> reallocated pages maybe always from node 1, then the recycle will never
> success.
> 
> For page pool:
> 
> 1. if the pool->p.nid != NUMA_NO_NODE, the recycle is always decided by
> checking page_to_nid(page) == pool->p.nid.
> 
> 2. only when the pool->p.nid == NUMA_NO_NODE, the numa_mem_id() is
> checked
>    to decide the recycle.
> 
> Yes, If pool->p.nid == NUMA_NO_NODE, and the cpu that is doing recycling is
> changing each time, the recycle may never success, but it is not common, 

Why can we ignore this condition, and accept your hardware with abnormal node
information

>and
> have its own performance penalty when changing the recycling cpu so often.

I have said if hardware takes care of numa node, it should be assign when page pool
Is created, not depends on recycle.

If you insist your idea, you can submit you patch after this one

-RongQing

> 
> 
> >
> > -RongQing
> >
> >

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ