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
| ||
|
Date: Tue, 7 Jan 2020 18:42:55 +0100 From: Heiko Carstens <heiko.carstens@...ibm.com> To: Anshuman Khandual <anshuman.khandual@....com> Cc: linux-mm@...ck.org, Vasily Gorbik <gor@...ux.ibm.com>, Christian Borntraeger <borntraeger@...ibm.com>, Martin Schwidefsky <schwidefsky@...ibm.com>, Collin Walling <walling@...ux.ibm.com>, Gerald Schaefer <gerald.schaefer@...ibm.com>, Philipp Rudo <prudo@...ux.ibm.com>, Mike Rapoport <rppt@...ux.ibm.com>, Andrew Morton <akpm@...ux-foundation.org>, linux-s390@...r.kernel.org, linux-kernel@...r.kernel.org Subject: Re: [PATCH] mm/memblock: Define memblock_physmem_add() On Mon, Jan 06, 2020 at 09:40:35AM +0530, Anshuman Khandual wrote: > On s390 platform memblock.physmem array is being built by directly calling > into memblock_add_range() which is a low level function not intended to be > used outside of memblock. Hence lets conditionally add helper functions for > physmem array when HAVE_MEMBLOCK_PHYS_MAP is enabled. Also use MAX_NUMNODES > instead of 0 as node ID similar to memblock_add() and memblock_reserve(). > Make memblock_add_range() a static function as it is no longer getting used > outside of memblock. > > Cc: Heiko Carstens <heiko.carstens@...ibm.com> > Cc: Vasily Gorbik <gor@...ux.ibm.com> > Cc: Christian Borntraeger <borntraeger@...ibm.com> > Cc: Martin Schwidefsky <schwidefsky@...ibm.com> > Cc: Collin Walling <walling@...ux.ibm.com> > Cc: Gerald Schaefer <gerald.schaefer@...ibm.com> > Cc: Philipp Rudo <prudo@...ux.ibm.com> > Cc: Mike Rapoport <rppt@...ux.ibm.com> > Cc: Andrew Morton <akpm@...ux-foundation.org> > Cc: linux-s390@...r.kernel.org > Cc: linux-kernel@...r.kernel.org > Signed-off-by: Anshuman Khandual <anshuman.khandual@....com> > --- > Only build tested for s390, will appreciate if some one can give it a try > on a real system. Acked-by: Heiko Carstens <heiko.carstens@...ibm.com>
Powered by blists - more mailing lists