[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <480D5900.2000106@sandeen.net>
Date: Mon, 21 Apr 2008 22:18:24 -0500
From: Eric Sandeen <sandeen@...deen.net>
To: Denys Vlasenko <vda.linux@...glemail.com>
CC: David Chinner <dgc@....com>, Adrian Bunk <bunk@...nel.org>,
Alan Cox <alan@...rguk.ukuu.org.uk>,
Shawn Bohrer <shawn.bohrer@...il.com>,
Ingo Molnar <mingo@...e.hu>,
Andrew Morton <akpm@...ux-foundation.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Arjan van de Ven <arjan@...radead.org>,
Thomas Gleixner <tglx@...utronix.de>
Subject: Re: [PATCH] xfs: use smaller int param in call to xfs_flush_pages
Denys Vlasenko wrote:
> Hi David,
>
> xfs_flush_pages() flags parameter is declared as uint64_t, but
> code never pass values which do not fit into 32 bits.
> All callsites sans one pass zero, and the last one passes
> XFS_B_DELWRI, XFS_B_ASYNC or zero.
> These values are defined in enum xfs_buf_flags_t and they
> all fit in 32 bits.
>
> This patch changes type of the parameter and one variable
> which used to pass it to unsigned int.
FWIW this one also seems to make no stack difference, at least on x86_64.
Not complaining; just checking it out. :)
If you can shink xfs_bmapi, let me know. :)
Thanks,
-Eric
--
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