linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* Re: preemp / nonpreemp
@ 2000-04-18 10:49 pnilesh
  2000-04-18 11:23 ` Stephen C. Tweedie
  0 siblings, 1 reply; 8+ messages in thread
From: pnilesh @ 2000-04-18 10:49 UTC (permalink / raw)
  To: Stephen C. Tweedie; +Cc: Eric W. Biederman, linux-mm

Hi,

On Tue, Apr 18, 2000 at 01:50:20PM +0530, pnilesh@in.ibm.com wrote:
>
>  Does it mean that I can go and write schedule () in the kernel and it
> should             not create any problems ?/* not in handler */

1 But will there be any complication as Eric told ?

It will be fine: it happens all over the place.  It's the standard
mechanism used to sleep on IO events.  Preemption implies that a timer
interrupt can forcibly reschedule a kernel task, and that won't ever
happen on current kernels.  Voluntary rescheduling, on the other hand,
is quite proper.

2 Is there any plan to make Linux kernel preemptable ?
3 What could be performance gain/loss compared to the current kernels ?

Nilesh


--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/

^ permalink raw reply	[flat|nested] 8+ messages in thread
[parent not found: <CA2568C5.002E8BFC.00@d73mta03.au.ibm.com>]
* Re: preemp / nonpreemp
@ 2000-04-18  8:20 pnilesh
  2000-04-18  9:22 ` Stephen C. Tweedie
  0 siblings, 1 reply; 8+ messages in thread
From: pnilesh @ 2000-04-18  8:20 UTC (permalink / raw)
  To: Eric W. Biederman; +Cc: linux-mm

  Using the architecture it is also possible
to prempt kernel threads that don't hold the big kernel lock on
non-SMP systems as well.

 Does it mean that I can go and write schedule () in the kernel and it
should             not create any problems ?/* not in handler */

  non-SMP premption probably won't appear until
early 2.5 however as it may have a few complications.

Can you tell me any complication ?

Nilesh


--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/

^ permalink raw reply	[flat|nested] 8+ messages in thread
* preemp / nonpreemp
@ 2000-04-18  4:12 pnilesh
  2000-04-18  6:40 ` Eric W. Biederman
  2000-04-18  9:18 ` Stephen C. Tweedie
  0 siblings, 2 replies; 8+ messages in thread
From: pnilesh @ 2000-04-18  4:12 UTC (permalink / raw)
  To: linux-mm

The Linux kernel is preemptable.

Does the preemption mean that inside system calls in kernel a call to
schedule is possible .
Or is there more to it .


Nilesh Patel


--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2000-04-18 15:03 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-04-18 10:49 preemp / nonpreemp pnilesh
2000-04-18 11:23 ` Stephen C. Tweedie
     [not found] <CA2568C5.002E8BFC.00@d73mta03.au.ibm.com>
2000-04-18 15:03 ` Eric W. Biederman
  -- strict thread matches above, loose matches on Subject: below --
2000-04-18  8:20 pnilesh
2000-04-18  9:22 ` Stephen C. Tweedie
2000-04-18  4:12 pnilesh
2000-04-18  6:40 ` Eric W. Biederman
2000-04-18  9:18 ` Stephen C. Tweedie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox