aha/arch/microblaze/kernel
Arnaldo Carvalho de Melo a2e2725541 net: Introduce recvmmsg socket syscall
Meaning receive multiple messages, reducing the number of syscalls and
net stack entry/exit operations.

Next patches will introduce mechanisms where protocols that want to
optimize this operation will provide an unlocked_recvmsg operation.

This takes into account comments made by:

. Paul Moore: sock_recvmsg is called only for the first datagram,
  sock_recvmsg_nosec is used for the rest.

. Caitlin Bestler: recvmmsg now has a struct timespec timeout, that
  works in the same fashion as the ppoll one.

  If the underlying protocol returns a datagram with MSG_OOB set, this
  will make recvmmsg return right away with as many datagrams (+ the OOB
  one) it has received so far.

. Rémi Denis-Courmont & Steven Whitehouse: If we receive N < vlen
  datagrams and then recvmsg returns an error, recvmmsg will return
  the successfully received datagrams, store the error and return it
  in the next call.

This paves the way for a subsequent optimization, sk_prot->unlocked_recvmsg,
where we will be able to acquire the lock only at batch start and end, not at
every underlying recvmsg call.

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-10-12 23:40:10 -07:00
..
cpu microblaze: Updated CPU version and FPGA family codes in PVR 2009-09-22 10:00:45 +02:00
asm-offsets.c microblaze_mmu_v2: MMU asm offset update 2009-05-26 16:45:19 +02:00
early_printk.c microblaze_mmu_v2: Alocate TLB for early console 2009-05-26 16:45:14 +02:00
entry-nommu.S microblaze: use generic syscalls.h 2009-07-06 10:26:59 +02:00
entry.S microblaze: Support ptrace syscall tracing. 2009-09-22 10:00:45 +02:00
exceptions.c microblaze: Generate correct signal and siginfo for integer div-by-zero 2009-09-22 10:00:44 +02:00
head.S microblaze: Improve checking mechanism for MSR instruction 2009-09-21 14:29:21 +02:00
heartbeat.c microblaze_v8: heartbeat file 2009-03-27 14:25:24 +01:00
hw_exception_handler.S microblaze: Clear sticky FSR register after generating exception signals 2009-09-22 10:00:42 +02:00
init_task.c Use new __init_task_data macro in arch init_task.c files. 2009-09-21 06:27:08 +02:00
intc.c microblaze: Sane handling of missing timer/intc in device tree 2009-08-18 10:33:30 +02:00
irq.c microblaze: use the generic ack_bad_irq implementation 2009-08-18 10:33:29 +02:00
Makefile microblaze: Makefile cleanup 2009-07-27 09:03:20 +02:00
microblaze_ksyms.c microblaze: export some symbols 2009-05-21 15:56:05 +02:00
misc.S microblaze: Fix problem with early_printk in startup 2009-05-30 16:40:58 +02:00
module.c microblaze: Add support for R_MICROBLAZE_64_NONE 2009-07-27 09:03:18 +02:00
of_device.c microblaze: struct device - replace bus_id with dev_name() 2009-04-14 10:37:27 +02:00
of_platform.c microblaze_v8: Open firmware files 2009-03-27 14:25:12 +01:00
process.c microblaze: Ensure CPU usermode is set on new userspace processes 2009-09-22 10:00:41 +02:00
prom.c microblaze: Fix cast warning for __va in prom.c 2009-05-21 16:39:58 +02:00
prom_parse.c microblaze_v8: Open firmware files 2009-03-27 14:25:12 +01:00
ptrace.c microblaze: Support ptrace syscall tracing. 2009-09-22 10:00:45 +02:00
selfmod.c microblaze_v8: Selfmodified code 2009-03-27 14:25:15 +01:00
setup.c microblaze: Add checking mechanism for MSR instruction 2009-09-21 14:29:21 +02:00
signal.c headers: smp_lock.h redux 2009-07-12 12:22:34 -07:00
sys_microblaze.c headers: utsname.h redux 2009-09-23 18:13:10 -07:00
syscall_table.S net: Introduce recvmmsg socket syscall 2009-10-12 23:40:10 -07:00
timer.c microblaze: Sane handling of missing timer/intc in device tree 2009-08-18 10:33:30 +02:00
traps.c microblaze_mmu_v2: Traps MMU update 2009-05-26 16:45:21 +02:00
vmlinux.lds.S microblaze: Fix _start symbol to physical address 2009-09-22 10:11:08 +02:00