Open Bug 1266991 Opened 9 years ago Updated 2 years ago

Add the ability to control the stack size of thread created by the job scheduler

Categories

(Core :: Graphics, defect, P3)

defect

Tracking

()

People

(Reporter: jrmuizel, Unassigned)

References

Details

(Whiteboard: [gfx-noted])

To make these things as light as possible it would be nice to be able to choose a small stack size. For bug 1263527 we should be able to get away with a very small stack size on the order of a single page.
Blocks: 1263527
Given that pages are only faulted in for the stack if they are needed, would this really make much of a difference?  All it would seem to do is crash if you happened to use more stack space than expected.  Is there some other benefit I'm not seeing?
(In reply to Ben Kelly [:bkelly] from comment #1)
> Given that pages are only faulted in for the stack if they are needed, would
> this really make much of a difference?  All it would seem to do is crash if
> you happened to use more stack space than expected.  Is there some other
> benefit I'm not seeing?

Avoiding address space exhaustion on 32bit.
Blocks: 1239292
Whiteboard: [gfx-noted]
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.