public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Robert Love <rml@tech9.net>
To: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] (Updated) Preemptible Kernel
Date: 09 Sep 2001 18:38:39 -0400	[thread overview]
Message-ID: <1000075124.17667.2.camel@phantasy> (raw)

Quick update:

pre6-preempt patch is up at:
http://tech9.net/rml/linux/patch-rml-2.4.10-pre6-preempt-kernel-1

pre5 does not diff cleanly against pre6, so use this if you are using
Linus's tree.  this patch contains the ieee1394 fix, too. highmem
updates are still pending (see below).

2.4.9-ac10 is still at:
http://tech9.net/rml/linux/patch-rml-2.4.9-ac10-preempt-kernel-1

note this does not contain the ieee1394 fix or highmem update. as
always, you can find the newest patches there, fairly quickly.

if you are using 2.4.9-ac10 or earlier or 2.4.10-pre5 or earlier and
need the ieee1394 patch (fixes compile error) here it is (this is merged
in 2.4.10-pre6-preempt and will be in the next acXX-preempt:)

diff -urN linux-2.4.9-ac10/drivers/ieee1394/ linux/drivers/ieee1394/csr.c
--- linux-2.4.9-ac10/drivers/ieee1394/csr.c	Fri Sep  7 23:53:41 2001
+++ linux/drivers/ieee1394/csr.c	Sun Sep  9 00:07:21 2001
@@ -10,6 +10,7 @@
  */
 
 #include <linux/string.h>
+#include <linux/sched.h>
 
 #include "ieee1394_types.h"
 #include "hosts.h"

if you are using any patch, and are using highmem, here is an
experimental patch that seems to work.  a final version will be in
future preempt patches:


--- linux-corndog/include/linux/highmem.h Sun Sep  9 08:59:04 2001
+++ linux/include/linux/highmem.h Sun Sep  9 09:00:07 2001
@@ -88,6 +88,7 @@
        if (page < highmem_start_page)
                return page_address(page);

+       ctx_sw_off();
        idx = type + KM_TYPE_NR*smp_processor_id();
        vaddr = __fix_to_virt(FIX_KMAP_BEGIN + idx);
#if HIGHMEM_DEBUG
@@ -119,6 +120,7 @@
        pte_clear(kmap_pte-idx);
        __flush_tlb_one(vaddr);
#endif
+       ctx_sw_on();
}

#endif /* __KERNEL__ */

-- 
Robert M. Love
rml at ufl.edu
rml at tech9.net


             reply	other threads:[~2001-09-09 22:38 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-09 22:38 Robert Love [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-10-01  4:21 [PATCH] (Updated) Preemptible Kernel Robert Love
2001-10-01  5:34 ` Steve Kieu
2001-10-01  5:46   ` Robert Love
2001-09-19  0:10 Robert Love
2001-09-19  7:18 ` Robert Love
2001-09-06 22:02 Robert Love
2001-09-06 20:39 ` Phillip Susi
2001-09-07  0:58   ` Robert Love
2001-09-07  1:10   ` Daniel Phillips
2001-09-09  4:44 ` Robert Love

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1000075124.17667.2.camel@phantasy \
    --to=rml@tech9.net \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox