Re: 3rd version of R/W mmap_sem patch available

Marcelo Tosatti (marcelo@conectiva.com.br)
Tue, 20 Mar 2001 01:15:20 -0300 (BRT)


On Mon, 19 Mar 2001, Linus Torvalds wrote:

>
> There is a 2.4.3-pre5 in the test-directory on ftp.kernel.org.
>
> The complete changelog is appended, but the biggest recent change is the
> mmap_sem change, which I updated with new locking rules for pte/pmd_alloc
> to avoid the race on the actual page table build.
>
> This has only been tested on i386 without PAE, and is known to break other
> architectures. Ingo, mind checking what PAE needs? Generally, the changes
> are simple, and really only implies changing the pte/pmd allocation
> functions to _only_ allocate (ie removing the stuff that actually modifies
> the page tables, as that is now handled by generic code), and to make sure
> that the "pgd/pmd_populate()" functions do the right thing.
>
> I have also removed the xxx_kernel() functions - for architectures that
> need them, I suspect that the right approach is to just make the
> "populate" funtions notice when "mm" is "init_mm", the kernel context.
> That removed a lot of duplicate code that had little good reason.
>
> This pre-release is meant mainly as a synchronization point for mm
> developers, not for generic use.
>
> Thanks,
>
> Linus
>
>
> -----
> -pre5:
> - Rik van Riel and others: mm rw-semaphore (ps/top ok when swapping)
> - IDE: 256 sectors at a time is legal, but apparently confuses some
> drives. Max out at 255 sectors instead.

Could the IDE one cause corruption ?

EXT2-fs error (device ide0(3,1)): ext2_free_blocks: bit already cleared
for block 6211

Just hitted this now with pre3.

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