Re: console font limits

From: Alan Cox
Date: Thu May 03 2007 - 06:16:56 EST


On Thu, 03 May 2007 00:19:59 -0700
"H. Peter Anvin" <hpa@xxxxxxxxx> wrote:

> Albert Cahalan wrote:
> > Font size is not a sane place to draw the line. Features are.
>
> Font sizes are an eminently sane place to draw the line, because the
> crossover is largely determined by the point at which nailing down too
> much memory (kernel memory = unswappable memory) gets too expensive.

Which is a value judgement made based upon the cost of memory, the
memory limit of the system (and the fixed kmalloc limits).

Obvious fix Albert would be to post patches which

- Ignore the font size limits (up to sanity point) for
CAP_SYS_something
- Put the limit in sysfs where it belongs
- Use vmalloc not kmalloc if neccessary

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