Loading .gitignore +5 −0 Original line number Diff line number Diff line Loading @@ -30,6 +30,11 @@ include/config include/linux/autoconf.h include/linux/compile.h include/linux/version.h include/linux/utsrelease.h # stgit generated dirs patches-* # quilt's files patches series CREDITS +5 −5 Original line number Diff line number Diff line Loading @@ -528,11 +528,11 @@ S: Oxford S: United Kingdom N: Luiz Fernando N. Capitulino E: lcapitulino@terra.com.br E: lcapitulino@prefeitura.sp.gov.br W: http://www.telecentros.sp.gov.br D: Little fixes and a lot of janitorial work S: E-GOV Telecentros SP E: lcapitulino@mandriva.com.br E: lcapitulino@gmail.com W: http://www.cpu.eti.br D: misc kernel hacking S: Mandriva S: Brazil N: Remy Card Loading Documentation/DMA-mapping.txt +4 −4 Original line number Diff line number Diff line Loading @@ -698,12 +698,12 @@ these interfaces. Remember that, as defined, consistent mappings are always going to be SAC addressable. The first thing your driver needs to do is query the PCI platform layer with your devices DAC addressing capabilities: layer if it is capable of handling your devices DAC addressing capabilities: int pci_dac_set_dma_mask(struct pci_dev *pdev, u64 mask); int pci_dac_dma_supported(struct pci_dev *hwdev, u64 mask); This routine behaves identically to pci_set_dma_mask. You may not use the following interfaces if this routine fails. You may not use the following interfaces if this routine fails. Next, DMA addresses using this API are kept track of using the dma64_addr_t type. It is guaranteed to be big enough to hold any Loading Documentation/DocBook/kernel-api.tmpl +5 −4 Original line number Diff line number Diff line Loading @@ -58,6 +58,9 @@ !Iinclude/linux/ktime.h !Iinclude/linux/hrtimer.h !Ekernel/hrtimer.c </sect1> <sect1><title>Workqueues and Kevents</title> !Ekernel/workqueue.c </sect1> <sect1><title>Internal Functions</title> !Ikernel/exit.c Loading Loading @@ -300,7 +303,7 @@ X!Ekernel/module.c </sect1> <sect1><title>Resources Management</title> !Ekernel/resource.c !Ikernel/resource.c </sect1> <sect1><title>MTRR Handling</title> Loading @@ -312,9 +315,7 @@ X!Ekernel/module.c !Edrivers/pci/pci-driver.c !Edrivers/pci/remove.c !Edrivers/pci/pci-acpi.c <!-- kerneldoc does not understand __devinit X!Edrivers/pci/search.c --> !Edrivers/pci/search.c !Edrivers/pci/msi.c !Edrivers/pci/bus.c <!-- FIXME: Removed for now since no structured comments in source Loading Documentation/RCU/whatisRCU.txt +3 −2 Original line number Diff line number Diff line Loading @@ -687,8 +687,9 @@ diff shows how closely related RCU and reader-writer locking can be. + spin_lock(&listmutex); list_for_each_entry(p, head, lp) { if (p->key == key) { list_del(&p->list); - list_del(&p->list); - write_unlock(&listmutex); + list_del_rcu(&p->list); + spin_unlock(&listmutex); + synchronize_rcu(); kfree(p); Loading Loading @@ -736,7 +737,7 @@ Or, for those who prefer a side-by-side listing: 5 write_lock(&listmutex); 5 spin_lock(&listmutex); 6 list_for_each_entry(p, head, lp) { 6 list_for_each_entry(p, head, lp) { 7 if (p->key == key) { 7 if (p->key == key) { 8 list_del(&p->list); 8 list_del(&p->list); 8 list_del(&p->list); 8 list_del_rcu(&p->list); 9 write_unlock(&listmutex); 9 spin_unlock(&listmutex); 10 synchronize_rcu(); 10 kfree(p); 11 kfree(p); Loading Loading
.gitignore +5 −0 Original line number Diff line number Diff line Loading @@ -30,6 +30,11 @@ include/config include/linux/autoconf.h include/linux/compile.h include/linux/version.h include/linux/utsrelease.h # stgit generated dirs patches-* # quilt's files patches series
CREDITS +5 −5 Original line number Diff line number Diff line Loading @@ -528,11 +528,11 @@ S: Oxford S: United Kingdom N: Luiz Fernando N. Capitulino E: lcapitulino@terra.com.br E: lcapitulino@prefeitura.sp.gov.br W: http://www.telecentros.sp.gov.br D: Little fixes and a lot of janitorial work S: E-GOV Telecentros SP E: lcapitulino@mandriva.com.br E: lcapitulino@gmail.com W: http://www.cpu.eti.br D: misc kernel hacking S: Mandriva S: Brazil N: Remy Card Loading
Documentation/DMA-mapping.txt +4 −4 Original line number Diff line number Diff line Loading @@ -698,12 +698,12 @@ these interfaces. Remember that, as defined, consistent mappings are always going to be SAC addressable. The first thing your driver needs to do is query the PCI platform layer with your devices DAC addressing capabilities: layer if it is capable of handling your devices DAC addressing capabilities: int pci_dac_set_dma_mask(struct pci_dev *pdev, u64 mask); int pci_dac_dma_supported(struct pci_dev *hwdev, u64 mask); This routine behaves identically to pci_set_dma_mask. You may not use the following interfaces if this routine fails. You may not use the following interfaces if this routine fails. Next, DMA addresses using this API are kept track of using the dma64_addr_t type. It is guaranteed to be big enough to hold any Loading
Documentation/DocBook/kernel-api.tmpl +5 −4 Original line number Diff line number Diff line Loading @@ -58,6 +58,9 @@ !Iinclude/linux/ktime.h !Iinclude/linux/hrtimer.h !Ekernel/hrtimer.c </sect1> <sect1><title>Workqueues and Kevents</title> !Ekernel/workqueue.c </sect1> <sect1><title>Internal Functions</title> !Ikernel/exit.c Loading Loading @@ -300,7 +303,7 @@ X!Ekernel/module.c </sect1> <sect1><title>Resources Management</title> !Ekernel/resource.c !Ikernel/resource.c </sect1> <sect1><title>MTRR Handling</title> Loading @@ -312,9 +315,7 @@ X!Ekernel/module.c !Edrivers/pci/pci-driver.c !Edrivers/pci/remove.c !Edrivers/pci/pci-acpi.c <!-- kerneldoc does not understand __devinit X!Edrivers/pci/search.c --> !Edrivers/pci/search.c !Edrivers/pci/msi.c !Edrivers/pci/bus.c <!-- FIXME: Removed for now since no structured comments in source Loading
Documentation/RCU/whatisRCU.txt +3 −2 Original line number Diff line number Diff line Loading @@ -687,8 +687,9 @@ diff shows how closely related RCU and reader-writer locking can be. + spin_lock(&listmutex); list_for_each_entry(p, head, lp) { if (p->key == key) { list_del(&p->list); - list_del(&p->list); - write_unlock(&listmutex); + list_del_rcu(&p->list); + spin_unlock(&listmutex); + synchronize_rcu(); kfree(p); Loading Loading @@ -736,7 +737,7 @@ Or, for those who prefer a side-by-side listing: 5 write_lock(&listmutex); 5 spin_lock(&listmutex); 6 list_for_each_entry(p, head, lp) { 6 list_for_each_entry(p, head, lp) { 7 if (p->key == key) { 7 if (p->key == key) { 8 list_del(&p->list); 8 list_del(&p->list); 8 list_del(&p->list); 8 list_del_rcu(&p->list); 9 write_unlock(&listmutex); 9 spin_unlock(&listmutex); 10 synchronize_rcu(); 10 kfree(p); 11 kfree(p); Loading