linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* inline generic_writepages(mapping,nr_to_write)?
@ 2002-07-06 17:10 Thunder from the hill
  2002-07-06 20:04 ` Andrew Morton
  0 siblings, 1 reply; 2+ messages in thread
From: Thunder from the hill @ 2002-07-06 17:10 UTC (permalink / raw)
  To: Linux Kernel Mailing List

Hi,

(I keep forgetting whom to send mm suggestions, however this is a question
for all of you.)

Now that generic_writepages() shrinked a lot, couldn't we consider making 
it inline?

inline int generic_writepages(struct address_space *mapping,
			      int nr_to_write)
{
	return mpage_writepages(mapping, nr_to_write, NULL);
}

							Regards,
							Thunder
-- 
(Use http://www.ebb.org/ungeek if you can't decode)
------BEGIN GEEK CODE BLOCK------
Version: 3.12
GCS/E/G/S/AT d- s++:-- a? C++$ ULAVHI++++$ P++$ L++++(+++++)$ E W-$
N--- o?  K? w-- O- M V$ PS+ PE- Y- PGP+ t+ 5+ X+ R- !tv b++ DI? !D G
e++++ h* r--- y- 
------END GEEK CODE BLOCK------



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: inline generic_writepages(mapping,nr_to_write)?
  2002-07-06 17:10 inline generic_writepages(mapping,nr_to_write)? Thunder from the hill
@ 2002-07-06 20:04 ` Andrew Morton
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Morton @ 2002-07-06 20:04 UTC (permalink / raw)
  To: Thunder from the hill; +Cc: Linux Kernel Mailing List

Thunder from the hill wrote:
> 
> Hi,
> 
> (I keep forgetting whom to send mm suggestions, however this is a question
> for all of you.)
> 
> Now that generic_writepages() shrinked a lot, couldn't we consider making
> it inline?
> 
> inline int generic_writepages(struct address_space *mapping,
>                               int nr_to_write)
> {
>         return mpage_writepages(mapping, nr_to_write, NULL);
> }
> 

That would make sense.

-

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-07-06 19:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-06 17:10 inline generic_writepages(mapping,nr_to_write)? Thunder from the hill
2002-07-06 20:04 ` Andrew Morton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).