linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 2.4.21pre2aa2
@ 2002-12-26 10:28 Andrea Arcangeli
  2002-12-26 12:04 ` 2.4.21pre2aa2 Eyal Lebedinsky
  2003-01-14 12:23 ` 2.4.21pre2aa2 William Lee Irwin III
  0 siblings, 2 replies; 5+ messages in thread
From: Andrea Arcangeli @ 2002-12-26 10:28 UTC (permalink / raw)
  To: linux-kernel

I'm leaving for vacations in 5 minutes so hopefully this will compile
for everybody ;) [I know, mylex still doesn't compile without backing
out the elevator-lowlatency patch but I hadn't time to fix it yet], I'll
be back online on 3 Jan.

URL:

	http://www.us.kernel.org/pub/linux/kernel/people/andrea/kernels/v2.4/2.4.21pre2aa2.gz
	http://www.us.kernel.org/pub/linux/kernel/people/andrea/kernels/v2.4/2.4.21pre2aa2/

diff between 2.4.21pre2aa1 and 2.4.21pre2aa2:

Only in 2.4.21pre2aa1: 10_rawio-vary-io-15
Only in 2.4.21pre2aa2: 10_rawio-vary-io-16

	Fix compilation.

Andrea

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

* Re: 2.4.21pre2aa2
  2002-12-26 10:28 2.4.21pre2aa2 Andrea Arcangeli
@ 2002-12-26 12:04 ` Eyal Lebedinsky
  2003-01-14 12:23 ` 2.4.21pre2aa2 William Lee Irwin III
  1 sibling, 0 replies; 5+ messages in thread
From: Eyal Lebedinsky @ 2002-12-26 12:04 UTC (permalink / raw)
  To: Andrea Arcangeli; +Cc: linux-kernel

Andrea Arcangeli wrote:
> 
> I'm leaving for vacations in 5 minutes so hopefully this will compile
> for everybody ;) [I know, mylex still doesn't compile without backing
> out the elevator-lowlatency patch but I hadn't time to fix it yet], I'll
> be back online on 3 Jan.

Have a nice break.
> http://www.us.kernel.org/pub/linux/kernel/people/andrea/kernels/v2.4/2.4.21pre2aa2.gz

Makefile still says aa1...

--
Eyal Lebedinsky (eyal@eyal.emu.id.au) <http://samba.org/eyal/>

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

* Re: 2.4.21pre2aa2
  2002-12-26 10:28 2.4.21pre2aa2 Andrea Arcangeli
  2002-12-26 12:04 ` 2.4.21pre2aa2 Eyal Lebedinsky
@ 2003-01-14 12:23 ` William Lee Irwin III
  2003-01-14 16:12   ` 2.4.21pre2aa2 Andrea Arcangeli
  1 sibling, 1 reply; 5+ messages in thread
From: William Lee Irwin III @ 2003-01-14 12:23 UTC (permalink / raw)
  To: Andrea Arcangeli; +Cc: linux-kernel

On Thu, Dec 26, 2002 at 11:28:14AM +0100, Andrea Arcangeli wrote:
> I'm leaving for vacations in 5 minutes so hopefully this will compile
> for everybody ;) [I know, mylex still doesn't compile without backing
> out the elevator-lowlatency patch but I hadn't time to fix it yet], I'll
> be back online on 3 Jan.

Hmm. Where is init_one_highpage() defined?


Thanks,
Bill


$ grep -nr init_one_highpage .                   
./arch/i386/mm/discontig.c:47:extern void init_one_highpage(struct page *, int, int);
./arch/i386/mm/discontig.c:297:                 init_one_highpage((struct page *) (zone_mem_map + node_pfn), zone_start_pfn + node_pfn, bad_ppro);
Binary file ./arch/i386/mm/discontig.o matches
Binary file ./arch/i386/mm/mm.o matches


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

* Re: 2.4.21pre2aa2
  2003-01-14 12:23 ` 2.4.21pre2aa2 William Lee Irwin III
@ 2003-01-14 16:12   ` Andrea Arcangeli
  2003-01-14 16:58     ` 2.4.21pre2aa2 J.A. Magallon
  0 siblings, 1 reply; 5+ messages in thread
From: Andrea Arcangeli @ 2003-01-14 16:12 UTC (permalink / raw)
  To: William Lee Irwin III, linux-kernel

On Tue, Jan 14, 2003 at 04:23:34AM -0800, William Lee Irwin III wrote:
> On Thu, Dec 26, 2002 at 11:28:14AM +0100, Andrea Arcangeli wrote:
> > I'm leaving for vacations in 5 minutes so hopefully this will compile
> > for everybody ;) [I know, mylex still doesn't compile without backing
> > out the elevator-lowlatency patch but I hadn't time to fix it yet], I'll
> > be back online on 3 Jan.
> 
> Hmm. Where is init_one_highpage() defined?

I assumed it got dropped while upgrading to new mainline trees, Marcelo
merged parts of the arch init cleanup and probably init_one_highpage was
missing from those patches merged in mainline despite most other things
were present. Thanks for the info (I will now go find where it was lost).

Andrea

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

* Re: 2.4.21pre2aa2
  2003-01-14 16:12   ` 2.4.21pre2aa2 Andrea Arcangeli
@ 2003-01-14 16:58     ` J.A. Magallon
  0 siblings, 0 replies; 5+ messages in thread
From: J.A. Magallon @ 2003-01-14 16:58 UTC (permalink / raw)
  To: linux-kernel


On 2003.01.14 Andrea Arcangeli wrote:
> On Tue, Jan 14, 2003 at 04:23:34AM -0800, William Lee Irwin III wrote:
> > On Thu, Dec 26, 2002 at 11:28:14AM +0100, Andrea Arcangeli wrote:
> > > I'm leaving for vacations in 5 minutes so hopefully this will compile
> > > for everybody ;) [I know, mylex still doesn't compile without backing
> > > out the elevator-lowlatency patch but I hadn't time to fix it yet], I'll
> > > be back online on 3 Jan.
> > 
> > Hmm. Where is init_one_highpage() defined?
> 
> I assumed it got dropped while upgrading to new mainline trees, Marcelo
> merged parts of the arch init cleanup and probably init_one_highpage was
> missing from those patches merged in mainline despite most other things
> were present. Thanks for the info (I will now go find where it was lost).
> 

Perhaps it is just a mutant ?

vi +449 arch/i386/mm/init.c

BTW, could you apply this, to get in sync with 2.5 ?

--- linux-2.4.20-pre5/arch/i386/mm/init.c	Tue Aug 20 11:36:59 2002
+++ linux/arch/i386/mm/init.c	Fri Sep  6 13:14:37 2002
@@ -442,21 +442,14 @@ static inline int page_kills_ppro(unsign
 #ifdef CONFIG_HIGHMEM
 void __init one_highpage_init(struct page *page, int pfn, int bad_ppro)
 {
-	if (!page_is_ram(pfn)) {
+	if (page_is_ram(pfn) && !(bad_ppro && page_kills_ppro(pfn))) {
+		ClearPageReserved(page);
+		set_bit(PG_highmem, &page->flags);
+		set_page_count(page, 1);
+		__free_page(page);
+		totalhigh_pages++;
+	} else
 		SetPageReserved(page);
-		return;
-	}
-	
-	if (bad_ppro && page_kills_ppro(pfn)) {
-		SetPageReserved(page);
-		return;
-	}
-	
-	ClearPageReserved(page);
-	set_bit(PG_highmem, &page->flags);
-	atomic_set(&page->count, 1);
-	__free_page(page);
-	totalhigh_pages++;
 }
 #endif /* CONFIG_HIGHMEM */
 

-- 
J.A. Magallon <jamagallon@able.es>      \                 Software is like sex:
werewolf.able.es                         \           It's better when it's free
Mandrake Linux release 9.1 (Cooker) for i586
Linux 2.4.21-pre3-jam2 (gcc 3.2.1 (Mandrake Linux 9.1 3.2.1-2mdk))

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

end of thread, other threads:[~2003-01-14 16:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-26 10:28 2.4.21pre2aa2 Andrea Arcangeli
2002-12-26 12:04 ` 2.4.21pre2aa2 Eyal Lebedinsky
2003-01-14 12:23 ` 2.4.21pre2aa2 William Lee Irwin III
2003-01-14 16:12   ` 2.4.21pre2aa2 Andrea Arcangeli
2003-01-14 16:58     ` 2.4.21pre2aa2 J.A. Magallon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).