Peter T. Breuer | 14 Dec 2008 12:54
Picon

Re: [enbd:144] Re: re arm stability

"Also sprach ptb:"
> But hang on .. in my hotel last night I managed to find a corner case
> for the mmap code that needs investigating. Maybe it's only against
> localhost that it happens, but mmap hangs for the first read on the
> device if not preceded by any write at all.  All I see is the syscall
> hanging.
> 
> I'll investigate and fix. Confirmed in 2.4.36 only. But I'll bet that
> the same thing applies to 2.4.35a.

I lost the bet. 2.4.35a does not have the issue.

The code is present but turned off in enbd 2.4.35a.  Apparently I knew
about the potential for harm.

For 2.4.36 I have now turned it off also while I ask kernel VM gurus
about what goes.

I'm bringing the enbd 2.4.36 code in line with kernel 2.6.26 anyway.
There are several VM changes in that area in 2.6.36 which may help ..
if I can get past the fact they're removed the "nopage" field from
vma_struct, grr ...

Peter

Gmane