Re: [PATCH #2] console lock grabbed too early in printk...
From: Jeff Garzik (jgarzik@mandrakesoft.mandrakesoft.com)
Date: Sat Jul 01 2000 - 21:54:36 EST
- Next message: The Western Web: "The Western Web has just finished our new classified ad section. Please check it out and make sure that your classified ad has been moved. We are in the process of moving ads at this time, but would appreciate your help to insure that if your ad has been moved. If it hasn't been moved or you would like to place a new ad feel free to do so. We have added new sections in the classifieds, hay/feed/shavings, livestock, camelids, cattle, deer and elk, poultry, rabbits, sheep, livestock equipment, swine, donkeys, dogs and mules. We are currently receiving 100 new ads a day, and over 20,000 unique hits a day."
- Previous message: Scott Johnson: "Re: IDE DMA on 2.4.0test3-pre1 still broken?"
- In reply to: Chris Lattner: "[PATCH #2] console lock grabbed too early in printk..."
- Next in thread: Philipp Rumpf: "Re: [PATCH #2] console lock grabbed too early in printk..."
- Reply: Philipp Rumpf: "Re: [PATCH #2] console lock grabbed too early in printk..."
- Reply: Chris Lattner: "Re: [PATCH #2] console lock grabbed too early in printk..."
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
On Sat, 1 Jul 2000, Chris Lattner wrote:
> This should reduce some console latency by making the console lock unheld
> for the vsprintf but held for the real console stuff... This patch keeps
> the common case nearly identical in performance: it only does a kmalloc
> during the extremely unlikely cases that are not handled now... [okay, I
> guess deadlock is "handling" it... but... :]
>
> Personally, I didn't like the idea of having one "buf" per proc, because
> it doesn't fix the recursion problem, it expands the needed data space
> (albeit not by much), and (if that approach were to be allied more
> generally) would bloat the kernel by a lot. The one thing it had going
> for it was the fact that you could be vsprintf'ing in parrellel! :)
I didn't mean to imply that the technique should be applied more
generally. printk is a very special case. My solution was proposed
partially because:
I'm not even sure that kmalloc during printk is possible, since
printk might be called during kernel init, before all the kmem caches
are created. (have no kernel tree here to check this, alas)
Jeff
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/
- Next message: The Western Web: "The Western Web has just finished our new classified ad section. Please check it out and make sure that your classified ad has been moved. We are in the process of moving ads at this time, but would appreciate your help to insure that if your ad has been moved. If it hasn't been moved or you would like to place a new ad feel free to do so. We have added new sections in the classifieds, hay/feed/shavings, livestock, camelids, cattle, deer and elk, poultry, rabbits, sheep, livestock equipment, swine, donkeys, dogs and mules. We are currently receiving 100 new ads a day, and over 20,000 unique hits a day."
- Previous message: Scott Johnson: "Re: IDE DMA on 2.4.0test3-pre1 still broken?"
- In reply to: Chris Lattner: "[PATCH #2] console lock grabbed too early in printk..."
- Next in thread: Philipp Rumpf: "Re: [PATCH #2] console lock grabbed too early in printk..."
- Reply: Philipp Rumpf: "Re: [PATCH #2] console lock grabbed too early in printk..."
- Reply: Chris Lattner: "Re: [PATCH #2] console lock grabbed too early in printk..."
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
This archive was generated by hypermail 2b29
: Fri Jul 07 2000 - 21:00:10 EST