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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 4 Jul 2008 23:32:05 -0700
From:	Andrew Morton <akpm@...ux-foundation.org>
To:	Eduard - Gabriel Munteanu <eduard.munteanu@...ux360.ro>
Cc:	tzanussi@...il.com, penberg@...helsinki.fi,
	torvalds@...ux-foundation.org, compudj@...stal.dyndns.org,
	vegard.nossum@...il.com, linux-kernel@...r.kernel.org,
	linux-arch@...r.kernel.org
Subject: Re: [PATCH 3/3] relay: Add buffer-only channels; useful for early
 logging.

On Sat, 5 Jul 2008 07:14:01 +0300 Eduard - Gabriel Munteanu <eduard.munteanu@...ux360.ro> wrote:

> On Wed, 2 Jul 2008 23:06:36 -0700
> Andrew Morton <akpm@...ux-foundation.org> wrote:
>  
> > This breaks on sparc64.
> > 
> > > +			err = smp_call_function_single(i,
> > > +
> > > __relay_set_buf_dentry,
> > > +						       &disp, 0,
> > > 1);
> > 
> > Because that ain't implemented.
> > 
> > There's a call in net/iucv/iucv.c, but that's s390-only.
> > 
> > There's a call in virt/kvm/kvm_main.c.
> > 
> > There's a call in kernel/time/tick-broadcast.c, so I assume that the
> > intersection between CONFIG_GENERIC_CLOCKEVENTS_BROADCAST and
> > non-smp_call_function_single() architectures is presently empty.
> 
> Hi,
> 
> I'm not sure what I should do.

Nothing, I'd suggest.  I think that all architectures should implement
smp_call_function_single().  You can have a shot at doing that if you
like, but the implementations will need to be reviewed and merged by
the relevant architectures maintainers.  (That's why I snuck linux-arch
into the cc list last time).

> Maybe disable relay_late_setup_files()
> on sparc64, with an empty inline?
>  
> > I guess all SMP-capable architectures should now implement this,
> > please.  It is presently defined on all architectures for CONFIG_SMP=n
> > and it is declared in include/linux/smp.h.
> 
> sparc64 seems to have smp_call_function_mask(). If we have the generic
> kernel/smp.c in linux-next or -mmotm, then this will define
> smp_call_function_single() to call smp_call_function_mask().
> 
> Is there anything I can do regarding this patch? Does it work since
> kernel/smp.c reappeared?

Nope:

y:/usr/src/25> grep USE_GENERIC_SMP_HELPERS arch/*/Kconfig
arch/alpha/Kconfig:     select USE_GENERIC_SMP_HELPERS
arch/arm/Kconfig:       select USE_GENERIC_SMP_HELPERS
arch/ia64/Kconfig:      select USE_GENERIC_SMP_HELPERS
arch/m32r/Kconfig:      select USE_GENERIC_SMP_HELPERS
arch/mips/Kconfig:      select USE_GENERIC_SMP_HELPERS
arch/parisc/Kconfig:    select USE_GENERIC_SMP_HELPERS
arch/powerpc/Kconfig:   select USE_GENERIC_SMP_HELPERS if SMP
arch/sh/Kconfig:        select USE_GENERIC_SMP_HELPERS
arch/x86/Kconfig:       select USE_GENERIC_SMP_HELPERS

It would help if you could check to see which architectures need work
and then perhaps propose patches.  If not, well, 2.6.27-rc1 will be
broken on some architectures on some configs and people will have a
couple of months to unbreak it.  Not a big problem, I expect.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ