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-prev] [thread-next>] [day] [month] [year] [list]
Date:	Sun, 6 Aug 2006 12:48:27 -0700
From:	Andrew Morton <akpm@...l.org>
To:	James Bottomley <James.Bottomley@...elEye.com>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Proposed update to the kernel kmap/kunmap API

On Sun, 06 Aug 2006 10:01:55 -0500
James Bottomley <James.Bottomley@...elEye.com> wrote:

> The simple part of the proposal is to give non-highmem architectures
> access to the kmap API for the purposes of overriding (this is what the
> attached patch does).
> 
> The more controversial part of the proposal is that we should now
> require all architectures with coherence issues to manage data coherence
> via the kmap/kunmap API.  Thus driver writers never have to write code
> like

kmap() is a nasty thing.  It has theoretical deadlock problems (which used
to be real ones back in the 2.4 days) and the present implementation uses a
kernel-wide lock.

We've been gradually and sporadically working to make kmap() go away, so
please let's not do anything which encourages its use.

kmap_atomic() is much preferred.  Can this initiative be recast around
kmap_atomic()?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ