lkml.org 
[lkml]   [2002]   [Mar]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] preempt-kernel on 2.4.19-pre2-ac2 bugfix
On Mon, Mar 04, 2002 at 07:23:10PM -0500, Robert Love wrote:
> The same schedule_tail bug affecting 2.5 affects 2.4 with O(1). I.e.,
> 2.4.19-pre2-ac2.
>
> In recent O(1) scheduler releases, an optimization was made that removed
> schedule_tail from UP kernels. This causes the initial preempt_count of
> a new task, which starts at 1, to never decrement to zero and thus never
> become preemptible. CONFIG_PREEMPT requires schedule_tail, too.
>
> Users of 2.4+O(1)+preempt (i.e. -ac) should use this patch:
>
> http://www.kernel.org/pub/linux/kernel/people/rml/preempt-kernel/v2.4/preempt-kernel-rml-2.4.19-pre2-ac2-2.patch
>

I'm using 2.4.19-pre2-ac2-prmpt which is only patched with:
preempt-kernel-rml-2.4.19-pre2-ac2-3

And it looks like the VM accounting has been messed up.

total: used: free: shared: buffers: cached:
Mem: 129662976 99065856 30597120 0 5013504 69664768
Swap: 500056064 97660928 402395136
MemTotal: 126624 kB
MemFree: 29880 kB
MemShared: 0 kB
Buffers: 4896 kB
Cached: 33188 kB
SwapCached: 34844 kB
Active: 62536 kB
Inact_dirty: 20328 kB
Inact_clean: 876 kB
Inact_target: 16748 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 126624 kB
LowFree: 29880 kB
SwapTotal: 488336 kB
SwapFree: 392964 kB
Committed AS: 366712 kB

As you can see, it says I'm using 366MB (roughly) of ram, but I'm only about
95mb into swap with 128mb of ram.

Alan, do you want me to try without preempt, or do you already have any
other reports like this?

The kernel is compiled smp, but this machine is UP. I can post .config and
other info if needed just ask.

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

\
 
 \ /
  Last update: 2005-03-22 13:21    [W:0.064 / U:24.308 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site