Thread (47 messages) 47 messages, 8 authors, 2021-09-24

Re: [PATCH v3 4/8] powerpc/pseries/svm: Add a powerpc version of cc_platform_has()

From: Christoph Hellwig <hch@infradead.org>
Date: 2021-09-16 07:37:21
Also in: amd-gfx, kexec, kvm, linux-efi, linux-fsdevel, linux-iommu, linux-s390, lkml, platform-driver-x86

On Wed, Sep 15, 2021 at 07:18:34PM +0200, Christophe Leroy wrote:
Could you please provide more explicit explanation why inlining such an
helper is considered as bad practice and messy ?
Because now we get architectures to all subly differ.  Look at the mess
for ioremap and the ioremap* variant.

The only good reason to allow for inlines if if they are used in a hot
path.  Which cc_platform_has is not, especially not on powerpc.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help