On Sun, 19 Sep 2004, Denis Vlasenko wrote: > On Sunday 19 September 2004 02:31, Christoph Lameter wrote: > > +static inline int > > +pmd_test_and_populate(struct mm_struct *mm, pmd_t *pmd, struct page *page) > > +{ > > + int rc; > > + spin_lock(&mm->page_table_lock); > > + > > + rc=pte_same(*pmd, _PAGE_INVALID_EMPTY); > > + if (rc) pmd_populate(mm, pmd, page); > > + spin_unlock(&mm->page_table_lock); > > + return rc; > > +} > > Considering that spin_lock and spin_unlock are inline functions, > this function may end up being large. > > I didn't see a single non-inlined function in these patches yet. > Please think about code size. This function is only used once. - To unsubscribe from this list: send the line "unsubscribe linux-ia64" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.htmlReceived on Mon Sep 20 11:46:25 2004
This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:30 EST