Subject: Re: linux-next: Tree for June 6 (frontswap)

From: Randy Dunlap <[email-masked]>
Date: Wed, 8 Jun 2011 09:28:44 -0700

On Mon, 6 Jun 2011 13:23:09 -0700 (PDT) Dan Magenheimer wrote:

> Hi Randy --
> 
> Indeed you are correct!  Thanks for catching that!
> 

Please fix the tree in linux-next so that this build error does not
continue.

> 
> Thanks... for the memory!
> I really could use more / my throughput's on the floor
> The balloon is flat / my swap disk's fat / I've OOM's in store
> Overcommitted so much
> (with apologies to Bob Hope)
> 
> 
> > -----Original Message-----
> > From: Randy Dunlap
> > Sent: Monday, June 06, 2011 2:06 PM
> > To: Stephen Rothwell; Dan Magenheimer
> > Cc: [email-masked]; LKML
> > Subject: Re: linux-next: Tree for June 6 (frontswap)
> > 
> > On Mon, 6 Jun 2011 13:20:36 +1000 Stephen Rothwell wrote:
> > 
> > > Hi all,
> > >
> > > Changes since 20110603:
> > 
> > 
> > Does frontswap need to depend on SWAP?
> > 
> > When SWAP is not enabled:
> > 
> > mm/built-in.o: In function `frontswap_curr_pages':
> > (.text+0x467c1): undefined reference to `swap_lock'
> > mm/built-in.o: In function `frontswap_curr_pages':
> > (.text+0x467ce): undefined reference to `swap_list'
> > mm/built-in.o: In function `frontswap_curr_pages':
> > (.text+0x467e6): undefined reference to `swap_info'
> > mm/built-in.o: In function `frontswap_curr_pages':
> > (.text+0x467fe): undefined reference to `swap_lock'
> > mm/built-in.o: In function `frontswap_shrink':
> > (.text+0x4688d): undefined reference to `swap_lock'
> > mm/built-in.o: In function `frontswap_shrink':
> > (.text+0x46898): undefined reference to `swap_list'
> > mm/built-in.o: In function `frontswap_shrink':
> > (.text+0x468b6): undefined reference to `swap_info'
> > mm/built-in.o: In function `frontswap_shrink':
> > (.text+0x4690d): undefined reference to `swap_info'
> > mm/built-in.o: In function `frontswap_shrink':
> > (.text+0x469d3): undefined reference to `swap_lock'
> > mm/built-in.o: In function `frontswap_shrink':
> > (.text+0x469ec): undefined reference to `try_to_unuse'
> > mm/built-in.o: In function `frontswap_shrink':
> > (.text+0x46a1c): undefined reference to `swap_lock'
> > mm/built-in.o: In function `__frontswap_flush_area':
> > (.text+0x46aa4): undefined reference to `swap_info'
> > mm/built-in.o: In function `__frontswap_get_page':
> > (.text+0x46b1f): undefined reference to `swap_info'
> > mm/built-in.o: In function `__frontswap_put_page':
> > (.text+0x46bf8): undefined reference to `swap_info'
> > mm/built-in.o: In function `__frontswap_flush_page':
> > (.text+0x46d86): undefined reference to `swap_info'
> > mm/built-in.o: In function `frontswap_curr_pages':
> > (.text+0x467c1): undefined reference to `swap_lock'
> > mm/built-in.o: In function `frontswap_curr_pages':
> > (.text+0x467ce): undefined reference to `swap_list'
> > mm/built-in.o: In function `frontswap_curr_pages':
> > (.text+0x467e6): undefined reference to `swap_info'
> > mm/built-in.o: In function `frontswap_curr_pages':
> > (.text+0x467fe): undefined reference to `swap_lock'
> > mm/built-in.o: In function `frontswap_shrink':
> > (.text+0x4688d): undefined reference to `swap_lock'
> > mm/built-in.o: In function `frontswap_shrink':
> > (.text+0x46898): undefined reference to `swap_list'
> > mm/built-in.o: In function `frontswap_shrink':
> > (.text+0x468b6): undefined reference to `swap_info'
> > mm/built-in.o: In function `frontswap_shrink':
> > (.text+0x4690d): undefined reference to `swap_info'
> > mm/built-in.o: In function `frontswap_shrink':
> > (.text+0x469d3): undefined reference to `swap_lock'
> > mm/built-in.o: In function `frontswap_shrink':
> > (.text+0x469ec): undefined reference to `try_to_unuse'
> > mm/built-in.o: In function `frontswap_shrink':
> > (.text+0x46a1c): undefined reference to `swap_lock'
> > mm/built-in.o: In function `__frontswap_flush_area':
> > (.text+0x46aa4): undefined reference to `swap_info'
> > mm/built-in.o: In function `__frontswap_get_page':
> > (.text+0x46b1f): undefined reference to `swap_info'
> > mm/built-in.o: In function `__frontswap_put_page':
> > (.text+0x46bf8): undefined reference to `swap_info'
> > mm/built-in.o: In function `__frontswap_flush_page':
> > (.text+0x46d86): undefined reference to `swap_info'

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