All of lore.kernel.org
 help / color / mirror / Atom feed
* Error in get_swap_page? (2.5.44)
@ 2002-10-20 19:32 Rasmus Andersen
  2002-10-20 19:36 ` Sean Neakums
  2002-10-20 19:36 ` bert hubert
  0 siblings, 2 replies; 5+ messages in thread
From: Rasmus Andersen @ 2002-10-20 19:32 UTC (permalink / raw)
  To: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 451 bytes --]

Hi,

Unless I am mistaken, we return stuff (entry) from the local 
stack in swapfile.c::get_swap_page. Am I mistaken?

Code in question:

swp_entry_t get_swap_page(void)
{
        struct swap_info_struct * p;
        unsigned long offset;
        swp_entry_t entry;
        int type, wrapped = 0;

        entry.val = 0;  /* Out of memory */
[...]

out:
        swap_list_unlock();
        return entry;
}


Regards,
  Rasmus

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

end of thread, other threads:[~2002-10-20 19:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-20 19:32 Error in get_swap_page? (2.5.44) Rasmus Andersen
2002-10-20 19:36 ` Sean Neakums
2002-10-20 19:41   ` Rasmus Andersen
2002-10-20 19:36 ` bert hubert
2002-10-20 19:39   ` Rasmus Andersen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.