lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 24 Mar 2011 18:58:08 +0200
From:	amir73il@...rs.sourceforge.net
To:	tytso@....edu
Cc:	linux-ext4@...r.kernel.org
Subject: [PATCHSET v2] ext4: removal of alloc_sem locks from block allocation paths

The purpose of this patch set is the removal of grp->alloc_sem locks
from block allocation paths.

The resulting code is cleaner and should perform better in concurrent
allocating tasks workloads.

I ran several xfstests runs with these patches (4K and 1K block size).
I tried several online resizes and verifyed that both in-core and on-disk
group counters are correct.

v2->v1:
- fix silly bug in patch 4/5 that triggers BUG_ON(incore == NULL)
- replace get_undo_access() with get_write_access()
- ran xfstests with block size 1K (where 2 groups share a buddy page)

[PATCH v2 1/5] ext4: move ext4_add_groupblocks() to mballoc.c
[PATCH v2 2/5] ext4: implement ext4_add_groupblocks() by freeing blocks
[PATCH v2 3/5] ext4: synchronize ext4_mb_init_group() with buddy page lock
[PATCH v2 4/5] ext4: teach ext4_mb_init_cache() to skip uptodate buddy caches
[PATCH v2 5/5] ext4: remove alloc_semp

--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ