lkml.org 
[lkml]   [2002]   [Jun]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] 2.5.21 Nonlinear CPU support
Date
From
> --- linux-2.5.21.24110/fs/ntfs/compress.c	Sat May 25 14:34:53 2002
> return -ENOMEM;
> - for (i = 0; i < smp_num_cpus; i++) {
> + for (i = 0; i < NR_CPUS; i++) {
> ntfs_compression_buffers[i] = (u8*)vmalloc(NTFS_MAX_CB_SIZE);
> if (!ntfs_compression_buffers[i])
> break;

2Mbytes !!!!!!

Add a cpu count changed notifier ?

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:26    [W:0.144 / U:0.876 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site