Subject: Re: linux-next: Tree for Aug 4 (zcache)

From: Randy Dunlap <[email-masked]>
Date: Thu, 4 Aug 2011 14:51:45 -0700

On Thu, 4 Aug 2011 14:44:41 -0700 Greg KH wrote:

> On Thu, Aug 04, 2011 at 02:24:37PM -0700, Randy Dunlap wrote:
> > On Thu, 4 Aug 2011 14:58:34 +1000 Stephen Rothwell wrote:
> > 
> > > Hi all,
> > > 
> > > Just in case anyone needs reminding:  Please do not add anything destined
> > > for v3.2 into linux-next included trees until after v3.1-rc1.
> > 
> > 
> > on i386:
> > 
> > drivers/built-in.o: In function `zcache_pampd_create':
> > zcache-main.c:(.text+0x159b8f): undefined reference to `__udivdi3'
> 
> Very wierd, what would cause that?

I don't see what's weird about it.

Probably one of these divisions:

		if (curr_pers_pampd_count >
		    (zv_page_count_policy_percent * totalram_pages) / 100)
			goto out;

or

			zv_mean_zsize = xv_get_total_size_bytes(cli->xvpool) /
						curr_pers_pampd_count;

---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***