From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46871) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XM5jI-0007UP-OW for qemu-devel@nongnu.org; Mon, 25 Aug 2014 21:39:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XM5jG-0005lY-Ol for qemu-devel@nongnu.org; Mon, 25 Aug 2014 21:39:24 -0400 Date: Tue, 26 Aug 2014 10:49:45 +1000 From: David Gibson Message-ID: <20140826004945.GK9923@voom.redhat.com> References: <1407869623-11185-1-git-send-email-tommusta@gmail.com> <1407869623-11185-12-git-send-email-tommusta@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="C7Ke/meiCZutM6I/" Content-Disposition: inline In-Reply-To: <1407869623-11185-12-git-send-email-tommusta@gmail.com> Subject: Re: [Qemu-devel] [V2 PATCH 11/12] linux-user: Support target-to-host translation of mlockall argument List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Tom Musta Cc: peter.maydell@linaro.org, riku.voipio@linaro.org, qemu-ppc@nongnu.org, qemu-devel@nongnu.org, agraf@suse.de --C7Ke/meiCZutM6I/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Aug 12, 2014 at 01:53:42PM -0500, Tom Musta wrote: > The argument to the mlockall system call is not necessarily the same on > all platforms and thus may require translation prior to passing to the > host. >=20 > For example, PowerPC 64 bit platforms define values for MCL_CURRENT > (0x2000) and MCL_FUTURE (0x4000) which are different from Intel platforms > (0x1 and 0x2, respectively) >=20 > Signed-off-by: Tom Musta Reviewed-by: David Gibson --=20 David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson --C7Ke/meiCZutM6I/ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJT+9mpAAoJEGw4ysog2bOSFLYQANIN51gWv2yfPW5+cqN7yq6S GGIge48WBuOcL19hHtZlaIZuHtYDG8kYBxqCO56nsaxF0Q1JdO+ePdeTH7+3DIbC IKRT8oa6dNl9pUouKwUGj9z6W1Bfg1h8MY2Q59T7BOHIqfDGdWDSFJYteP+ROj60 k+Y2RSYmBdKmWmQR+FgiXr/FeKT1lj8LOKti6lrfKiEZl/JIIZ69xXfSfHzggKIg L6phBBXotA/THjLB+fUhZgNiZYPUetV22ndViNuvd78zZz7Nz5cAt6XksZyNQpOc ipi0mPXvyd3ZJmcEdpuIihmMG0gIpSguIQ4lNY2oT0vt00j3FSrabjtNZkOgN/LT VPXrN+t8jRKLfp0hbgGzonRvYbMcpbSJvgFs7rn2RJtKbhQ4iAL5vIKD7shibvCn TX0aXP17hIcMKEV175D6JJWHSJVZbz3brkMUYpRaq70b7WQ75MyaEtecCi1SAByh BFXZmoDK4d6mqN5pw9tk0K8rD/YRd8AxAbUl9pL23upc/x8X2J+G2APP1Ke5GPB8 C/zFh6nZayS+DH1oK8uZ35pCU3T08KRhIWfKKsBm7PGYlZKvnv/jwQh74cJSqFj1 Kmc+JtTR43F3KoK7+uPFkWzMxTLph4Cu5/zJf6lDW8tfemOsNA3Yc3aZo1aKvI6O zdLT4mt3/81BI7bR1ZDj =fPd1 -----END PGP SIGNATURE----- --C7Ke/meiCZutM6I/--