[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
pre2 swap_out() changes
Hi Linus,
While looking at pre2 VM changes, I've saw this thing:
static int swap_out(unsigned int priority, int gfp_mask)
{
int counter;
int retval = 0;
struct mm_struct *mm = current->mm;
/* Always start by trying to penalize the process that is
allocating memory */
if (mm)
retval = swap_out_mm(mm, swap_amount(mm));
Since no process calls swap_out() directly, I dont see any sense on the
comment above.
Is this really bogus or you're planning something?
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/