Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[patch 0/8] -stable review

0 views
Skip to first unread message

Chris Wright

unread,
Aug 11, 2005, 6:57:36 PM8/11/05
to linux-...@vger.kernel.org, sta...@kernel.org, Justin Forbes, Zwane Mwaikambo, Theodore Ts'o, Randy.Dunlap, Chuck Wolber, torv...@osdl.org, ak...@osdl.org, al...@lxorguk.ukuu.org.uk
This is the start of the stable review cycle for the 2.6.12.5 release.
There are 8 patches in this series, all will be posted as a response to
this one. If anyone has any issues with these being applied, please let
us know. If anyone is a maintainer of the proper subsystem, and wants
to add a signed-off-by: line to the patch, please respond with it.

These patches are sent out with a number of different people on the
Cc: line. If you wish to be a reviewer, please email sta...@kernel.org
to add your name to the list. If you want to be off the reviewer list,
also email us.

Responses should be made by Sat, Aug 13, 22:00 UTC. Anything received
after that time, might be too late.

thanks,

the -stable release team
--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majo...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

Chris Wright

unread,
Aug 11, 2005, 6:57:36 PM8/11/05
to linux-...@vger.kernel.org, sta...@kernel.org, dis...@x86-64.org, Justin Forbes, Zwane Mwaikambo, Theodore Ts'o, Randy.Dunlap, Chuck Wolber, torv...@osdl.org, ak...@osdl.org, al...@lxorguk.ukuu.org.uk, Andi Kleen, Chris Wright
x86_64-srat-dual-core-amd.patch

Chris Wright

unread,
Aug 11, 2005, 6:58:03 PM8/11/05
to linux-...@vger.kernel.org, sta...@kernel.org, Justin Forbes, Zwane Mwaikambo, Theodore Ts'o, Randy.Dunlap, Chuck Wolber, torv...@osdl.org, ak...@osdl.org, al...@lxorguk.ukuu.org.uk, Eric Dumazet, Andi Kleen, Chris Wright
sys_set_mempolicy-mode-check.patch

Chris Wright

unread,
Aug 11, 2005, 6:58:03 PM8/11/05
to linux-...@vger.kernel.org, sta...@kernel.org, Justin Forbes, Zwane Mwaikambo, Theodore Ts'o, Randy.Dunlap, Chuck Wolber, torv...@osdl.org, ak...@osdl.org, al...@lxorguk.ukuu.org.uk, Eric W. Biederman, Andi Kleen
x86_64-fix-smpboot-timing-problem.patch

Chris Wright

unread,
Aug 11, 2005, 6:58:37 PM8/11/05
to linux-...@vger.kernel.org, sta...@kernel.org, Justin Forbes, Zwane Mwaikambo, Theodore Ts'o, Randy.Dunlap, Chuck Wolber, torv...@osdl.org, ak...@osdl.org, al...@lxorguk.ukuu.org.uk, Tim Yamin, Tavis Ormandy, Chris Wright
linux-zlib-fixes.patch

Chris Wright

unread,
Aug 11, 2005, 6:58:38 PM8/11/05
to linux-...@vger.kernel.org, sta...@kernel.org, Justin Forbes, Zwane Mwaikambo, Theodore Ts'o, Randy.Dunlap, Chuck Wolber, torv...@osdl.org, ak...@osdl.org, al...@lxorguk.ukuu.org.uk, David Howells, Chris Wright
failed-keyring-oops.patch

Chris Wright

unread,
Aug 11, 2005, 6:59:10 PM8/11/05
to linux-...@vger.kernel.org, sta...@kernel.org, Tim Yamin, Justin Forbes, Zwane Mwaikambo, Theodore Ts'o, Randy.Dunlap, Chuck Wolber, torv...@osdl.org, ak...@osdl.org, al...@lxorguk.ukuu.org.uk, H. Peter Anvin, Chris Wright
zisofs.patch

Chris Wright

unread,
Aug 11, 2005, 6:59:26 PM8/11/05
to linux-...@vger.kernel.org, sta...@kernel.org, Justin Forbes, Zwane Mwaikambo, Theodore Ts'o, Randy.Dunlap, Chuck Wolber, torv...@osdl.org, ak...@osdl.org, al...@lxorguk.ukuu.org.uk, ru...@rustcorp.com.au, Daniel Drake, Chris Wright
module-per-cpu-alignment-fix.patch

Chris Wright

unread,
Aug 11, 2005, 6:59:47 PM8/11/05
to linux-...@vger.kernel.org, sta...@kernel.org, Justin Forbes, Zwane Mwaikambo, Theodore Ts'o, Randy.Dunlap, Chuck Wolber, torv...@osdl.org, ak...@osdl.org, al...@lxorguk.ukuu.org.uk, David Howells, Chris Wright
key-session-join.patch

Andi Kleen

unread,
Aug 11, 2005, 7:33:41 PM8/11/05
to Chris Wright, linux-...@vger.kernel.org, sta...@kernel.org, Justin Forbes, Zwane Mwaikambo, Theodore Ts'o, Randy.Dunlap, Chuck Wolber, torv...@osdl.org, ak...@osdl.org, al...@lxorguk.ukuu.org.uk, Eric W. Biederman, Andi Kleen
> static void __cpuinit tsc_sync_wait(void)
> {
> if (notscsync || !cpu_has_tsc)
> return;
> - printk(KERN_INFO "CPU %d: Syncing TSC to CPU %u.\n", smp_processor_id(),
> - boot_cpu_id);
> - sync_tsc();
> + sync_tsc(boot_cpu_id);

I actually found a bug in this today. This should be sync_tsc(0), not sync_tsc(boot_cpu_id)
Can you just fix it in your tree or should I submit a new patch?

-Andi

Chris Wright

unread,
Aug 11, 2005, 7:44:36 PM8/11/05
to Andi Kleen, Chris Wright, linux-...@vger.kernel.org, sta...@kernel.org, Justin Forbes, Zwane Mwaikambo, Theodore Ts'o, Randy.Dunlap, Chuck Wolber, torv...@osdl.org, ak...@osdl.org, al...@lxorguk.ukuu.org.uk, Eric W. Biederman
* Andi Kleen (a...@suse.de) wrote:
> > static void __cpuinit tsc_sync_wait(void)
> > {
> > if (notscsync || !cpu_has_tsc)
> > return;
> > - printk(KERN_INFO "CPU %d: Syncing TSC to CPU %u.\n", smp_processor_id(),
> > - boot_cpu_id);
> > - sync_tsc();
> > + sync_tsc(boot_cpu_id);
>
> I actually found a bug in this today. This should be sync_tsc(0), not sync_tsc(boot_cpu_id)
> Can you just fix it in your tree or should I submit a new patch?

I'll fix it locally. Thanks for the heads-up.
-chris

Peter Osterlund

unread,
Aug 11, 2005, 8:04:24 PM8/11/05
to Chris Wright, linux-...@vger.kernel.org, sta...@kernel.org, Justin Forbes, Zwane Mwaikambo, Theodore Ts'o, Randy.Dunlap, Chuck Wolber, torv...@osdl.org, ak...@osdl.org, al...@lxorguk.ukuu.org.uk, Tim Yamin, Tavis Ormandy
Chris Wright <chr...@osdl.org> writes:

> -stable review patch. If anyone has any objections, please let us know.
> ------------------
>
> a) http://sources.redhat.com/ml/bug-gnu-utils/1999-06/msg00183.html

Why does this 6 year old bug have to be fixed in the 2.6.12 stable
series? Doesn't the patch violate this stable series rule?

- It must fix a real bug that bothers people (not a, "This could be a
problem..." type thing.)

Maybe the motivation was just missing from the patch description?

--
Peter Osterlund - pet...@telia.com
http://web.telia.com/~u89404340

Chris Wright

unread,
Aug 11, 2005, 8:13:48 PM8/11/05
to Peter Osterlund, Chris Wright, linux-...@vger.kernel.org, sta...@kernel.org, Justin Forbes, Zwane Mwaikambo, Theodore Ts'o, Randy.Dunlap, Chuck Wolber, torv...@osdl.org, ak...@osdl.org, al...@lxorguk.ukuu.org.uk, Tim Yamin, Tavis Ormandy
* Peter Osterlund (pet...@telia.com) wrote:

> Chris Wright <chr...@osdl.org> writes:
> > a) http://sources.redhat.com/ml/bug-gnu-utils/1999-06/msg00183.html
>
> Why does this 6 year old bug have to be fixed in the 2.6.12 stable
> series? Doesn't the patch violate this stable series rule?
>
> - It must fix a real bug that bothers people (not a, "This could be a
> problem..." type thing.)
>
> Maybe the motivation was just missing from the patch description?

These can manifest as possible overflow (1st one, given CAN-2005-2458),
or NULL deref (2nd one given CAN-2005-2459), which could have possible
security consequences.

thanks,
-chris

H. Peter Anvin

unread,
Aug 11, 2005, 9:13:51 PM8/11/05
to Chris Wright, linux-...@vger.kernel.org, sta...@kernel.org, Tim Yamin, Justin Forbes, Zwane Mwaikambo, Theodore Ts'o, Randy.Dunlap, Chuck Wolber, torv...@osdl.org, ak...@osdl.org, al...@lxorguk.ukuu.org.uk
Chris Wright wrote:
> -stable review patch. If anyone has any objections, please let us know.

Looks good to me. Feel free to add:

Signed-off-by: H. Peter Anvin <h...@zytor.com>

Chris Wright

unread,
Aug 11, 2005, 9:17:38 PM8/11/05
to H. Peter Anvin, Chris Wright, linux-...@vger.kernel.org, sta...@kernel.org, Tim Yamin, Justin Forbes, Zwane Mwaikambo, Theodore Ts'o, Randy.Dunlap, Chuck Wolber, torv...@osdl.org, ak...@osdl.org, al...@lxorguk.ukuu.org.uk
* H. Peter Anvin (h...@zytor.com) wrote:
> Chris Wright wrote:
> >-stable review patch. If anyone has any objections, please let us know.
>
> Looks good to me. Feel free to add:
>
> Signed-off-by: H. Peter Anvin <h...@zytor.com>

Will do, thanks.
-chris

Eric W. Biederman

unread,
Aug 11, 2005, 10:35:05 PM8/11/05
to Chris Wright, Andi Kleen, linux-...@vger.kernel.org, sta...@kernel.org, Justin Forbes, Zwane Mwaikambo, Theodore Ts'o, Randy.Dunlap, Chuck Wolber, torv...@osdl.org, ak...@osdl.org, al...@lxorguk.ukuu.org.uk
Chris Wright <chr...@osdl.org> writes:

> * Andi Kleen (a...@suse.de) wrote:
>> > static void __cpuinit tsc_sync_wait(void)
>> > {
>> > if (notscsync || !cpu_has_tsc)
>> > return;
>> > - printk(KERN_INFO "CPU %d: Syncing TSC to CPU %u.\n", smp_processor_id(),
>> > - boot_cpu_id);
>> > - sync_tsc();
>> > + sync_tsc(boot_cpu_id);
>>
>> I actually found a bug in this today. This should be sync_tsc(0), not
> sync_tsc(boot_cpu_id)
>> Can you just fix it in your tree or should I submit a new patch?
>
> I'll fix it locally. Thanks for the heads-up.

Someone needs to send the patch to Linus for 2.6.13 as well. Is someone
else going to or should I. I knew I was confused about physical versus
logical apic ids when I generated the patch.

Eric

Eric W. Biederman

unread,
Aug 12, 2005, 12:30:34 AM8/12/05
to Linus Torvalds, Andi Kleen, Chris Wright, linux-...@vger.kernel.org, sta...@kernel.org, Justin Forbes, Zwane Mwaikambo, Theodore Ts'o, Randy.Dunlap, Chuck Wolber, ak...@osdl.org, al...@lxorguk.ukuu.org.uk
Ok being impatient not wanting this tiny bug to be forgotten for
2.6.13. Linus please apply this micro patch.

> > static void __cpuinit tsc_sync_wait(void)
> > {
> > if (notscsync || !cpu_has_tsc)
> > return;
> > - printk(KERN_INFO "CPU %d: Syncing TSC to CPU %u.\n", smp_processor_id(),
> > - boot_cpu_id);
> > - sync_tsc();
> > + sync_tsc(boot_cpu_id);
>
> I actually found a bug in this today. This should be sync_tsc(0), not
> sync_tsc(boot_cpu_id)
> Can you just fix it in your tree or should I submit a new patch?
>
> -Andi

Oops. I knew I didn't have the physical versus logical cpu identifiers right
when I generated that patch. It's not nearly as bad as I feared at the time
though.

Signed-off-by: Eric W. Biederman <ebie...@xmission.com>
---

arch/x86_64/kernel/smpboot.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

5192895f71c7eff7e1335cd9d6a775dda2bb5d52
diff --git a/arch/x86_64/kernel/smpboot.c b/arch/x86_64/kernel/smpboot.c
--- a/arch/x86_64/kernel/smpboot.c
+++ b/arch/x86_64/kernel/smpboot.c
@@ -334,7 +334,7 @@ static void __cpuinit tsc_sync_wait(void
{
if (notscsync || !cpu_has_tsc)
return;
- sync_tsc(boot_cpu_id);
+ sync_tsc(0);
}

static __init int notscsync_setup(char *s)

yhlu

unread,
Aug 12, 2005, 1:51:51 AM8/12/05
to Eric W. Biederman, Linus Torvalds, Andi Kleen, Chris Wright, linux-...@vger.kernel.org, sta...@kernel.org, Justin Forbes, Zwane Mwaikambo, Theodore Ts'o, Randy.Dunlap, Chuck Wolber, ak...@osdl.org, al...@lxorguk.ukuu.org.uk
So boot_cpu_id is apic id of BSP.

Anyway sync_tsc(...) there is master and MASTER..., but value are all 0.

YH

Denis Vlasenko

unread,
Aug 22, 2005, 6:36:55 PM8/22/05
to Chris Wright, linux-...@vger.kernel.org, sta...@kernel.org, Justin Forbes, Zwane Mwaikambo, Theodore Ts'o, Randy.Dunlap, Chuck Wolber, torv...@osdl.org, ak...@osdl.org, al...@lxorguk.ukuu.org.uk, ru...@rustcorp.com.au, Daniel Drake, Chris Wright
On Friday 12 August 2005 01:54, Chris Wright wrote:
> -stable review patch. If anyone has any objections, please let us know.
> ------------------
>
> The module code assumes noone will ever ask for a per-cpu area more than
> SMP_CACHE_BYTES aligned. However, as these cases show, gcc asks sometimes
> asks for 32-byte alignment for the per-cpu section on a module, and if
> CONFIG_X86_L1_CACHE_SHIFT is 4, we hit that BUG_ON(). This is obviously an
> unusual combination, as there have been few reports, but better to warn
> than die.

gcc gets increasingly sadistic about alignment:

"char global_var[] = "larger than 32 bytes"; uses silly amounts of alignment even with -Os"
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22158

Please, everybody who thinks that _32_ _byte_ alignment
is outright silly, add your comments to this bugzilla entry.
--
vda

0 new messages