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>] [day] [month] [year] [list]
Message-ID: <3efb10970707270837p130a6f53q58afed9650885672@mail.gmail.com>
Date:	Fri, 27 Jul 2007 17:37:34 +0200
From:	"Remy Bohmer" <linux@...mer.net>
To:	"Thomas Gleixner" <tglx@...utronix.de>,
	"Ingo Molnar" <mingo@...e.hu>, LKML <linux-kernel@...r.kernel.org>
Subject: [PATCH (updated)]: PTHREAD_PRIO_INHERIT support for ARM.

Hello All,

Attached I have put a (very simple) patch to make PTHREAD_PRIO_INHERIT
work for ARM.

This patch implements the futex_atomic_cmpxchg_inatomic() for the
ARM architecture. Without this patch the userland PI mutex will
not work on ARM.

I have tested it with pi_stress, classic_pi and our production
environment, on the following Cores:
* Atmel at91rm9200 (ARM-v4)
* Atmel at91sam9261 (ARM-v5)

But it should also work on other ARM cores (like ARM-v6), because it
makes use of a cmpxchg() routine that was already there in the kernel
and that was optimised for pre- and post- ARM-v6 cores. But even if it
doesn't work, it could not make it worse than the current
implementation, that one is completely broken, it allows multiple
threads in the same protected section. So, with this patch it can only
get better ;-)

Coding style checked with checkpatch.pl 0.6 on 2.6.22.1-rt6

So, Please apply.

Kind Regards,

Remy Böhmer

View attachment "fix-userspace-prio-inherit.patch" of type "text/x-patch" (2190 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ