Re: page size in druntime is a mess

2012-03-19 Thread Alex Rønne Petersen
On 19-03-2012 11:12, Alex Rønne Petersen wrote: On 19-03-2012 11:03, deadalnix wrote: Le 18/03/2012 16:09, Sean Kelly a écrit : On Mar 18, 2012, at 7:12 AM, deadalnix wrote: Page size in druntime is sometime a constant (4Kb), sometime calculated, often assumed to be a compile time constant.

Re: page size in druntime is a mess

2012-03-19 Thread Alex Rønne Petersen
On 19-03-2012 11:03, deadalnix wrote: Le 18/03/2012 16:09, Sean Kelly a écrit : On Mar 18, 2012, at 7:12 AM, deadalnix wrote: Page size in druntime is sometime a constant (4Kb), sometime calculated, often assumed to be a compile time constant. druntime should define a proper, authoritative, p

Re: page size in druntime is a mess

2012-03-19 Thread deadalnix
Le 18/03/2012 16:09, Sean Kelly a écrit : On Mar 18, 2012, at 7:12 AM, deadalnix wrote: Page size in druntime is sometime a constant (4Kb), sometime calculated, often assumed to be a compile time constant. druntime should define a proper, authoritative, place to calculate that page size, an

Re: page size in druntime is a mess

2012-03-18 Thread Sean Kelly
On Mar 18, 2012, at 7:12 AM, deadalnix wrote: > Page size in druntime is sometime a constant (4Kb), sometime calculated, > often assumed to be a compile time constant. > > druntime should define a proper, authoritative, place to calculate that page > size, and then use the page calculated here

page size in druntime is a mess

2012-03-18 Thread deadalnix
Page size in druntime is sometime a constant (4Kb), sometime calculated, often assumed to be a compile time constant. druntime should define a proper, authoritative, place to calculate that page size, and then use the page calculated here. I did some tests today, and it require quite a lot of