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 for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <CAGW2f1EiXM5Rp=9uUjwNEs0Ws0VR0kzpPYi6=xfWc7FV=bkfDA@mail.gmail.com>
Date:	Thu, 5 Dec 2013 17:47:52 -0500
From:	jon ernst <jonernst07@...il.com>
To:	"linux-ext4@...r.kernel.org List" <linux-ext4@...r.kernel.org>
Subject: difference between xip and o_direct.

Hi,
I am trying to understand difference between xip and o_direct.

For XIP, document xip.txt says
"instead of keeping
data in the page cache, the need to have a page cache copy is eliminated
completely. With execute-in-place, read&write type operations are performed
directly from/to the memory backed storage device."

For O_Direct,

" File I/O is done directly to/from user-
space buffers.  " from manual of open(2)

So, are those 2 trying to do the same thing ? The difference I can
tell is, XIP option can be used when mounting fs. O_Direct is used in
open system-call.
Can anybody kindly teach me what are other differences?

thank you!

Jon
--
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