Re: [PATCH] Blackfin arch: add some missing syscall

From: Matthew Wilcox
Date: Thu Sep 13 2007 - 04:19:11 EST


On Thu, Sep 13, 2007 at 03:56:43PM +0800, Bryan Wu wrote:
> +/* Not relevant on no-mmu */

I thought this list seemed a little long, so I investigated a couple
of them. mbind makes sense (it's only implemented for NUMA ... a NUMA
embedded platform? not the kind which runs applications that use mbind),
but mremap doesn't -- there's even an implementation in mm/nommu.c.
Could you check the rest of these over to see if they truly don't need
to be implemented for no-mmu? I think you'll want the *robust_list
syscalls too.

> +#define __IGNORE_swapon
> +#define __IGNORE_swapoff
> +#define __IGNORE_msync
> +#define __IGNORE_mlock
> +#define __IGNORE_munlock
> +#define __IGNORE_mlockall
> +#define __IGNORE_munlockall
> +#define __IGNORE_mremap
> +#define __IGNORE_mincore
> +#define __IGNORE_madvise
> +#define __IGNORE_remap_file_pages
> +#define __IGNORE_mbind
> +#define __IGNORE_get_mempolicy
> +#define __IGNORE_set_mempolicy
> +#define __IGNORE_migrate_pages
> +#define __IGNORE_set_robust_list
> +#define __IGNORE_get_robust_list
> +#define __IGNORE_move_pages
> +#define __IGNORE_getcpu

--
Intel are signing my paycheques ... these opinions are still mine
"Bill, look, we understand that you're interested in selling us this
operating system, but compare it to ours. We can't possibly take such
a retrograde step."
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/