1. 01 Apr, 2024 1 commit
  2. 31 Mar, 2024 1 commit
  3. 30 Mar, 2024 1 commit
  4. 29 Mar, 2024 3 commits
  5. 28 Mar, 2024 4 commits
    • Kevin Krakauer's avatar
      netstack: don't allocate in gro, use faster buffer.NewView in the xdp endpoint · 5a63761a
      Kevin Krakauer authored
      These are just little optimizations found while working on other things.
      
      PiperOrigin-RevId: 620083599
      5a63761a
    • gVisor bot's avatar
      Internal change. · cef9e4fc
      gVisor bot authored
      PiperOrigin-RevId: 620018746
      cef9e4fc
    • Lucas Manning's avatar
      Fix mount promise TOCTOU bug. · 3c206d82
      Lucas Manning authored
      Bug scenario:
      
      T1: Creates waiter queue, adds waiter, emits mount promise block event,
          waits.
      T2: Gets waiter queue from vfs.mountPromises with read lock.
      T1: Daemon does mount, notifies original waiter, deletes promise.
      T2: Emits another mount promise block event, but mount already happened!
      T2: Waits forever for a mount that will never come.
      PiperOrigin-RevId: 619974202
      3c206d82
    • Etienne Perot's avatar
      `TestTree`: Utility to run Go tests with a hierarchy unknown at compile time. · 5ba35f51
      Etienne Perot authored
      This utility creates a nested structure out of a flat list of fully-qualified
      test names, and can then execute them using nested `t.Run`s that reflect the
      hierarchy properly.
      
      This is useful for CUDA sample tests, which are organized in a hierarchy.
      This hierarchy isn't known at compile time, so it cannot be reflected using
      plain `t.Run`s.
      
      PiperOrigin-RevId: 619730658
      5ba35f51
  6. 27 Mar, 2024 4 commits
  7. 26 Mar, 2024 4 commits
    • Zeling Feng's avatar
      Avoid panic opportunity for TCP keep-alive timers · ff7dbbfe
      Zeling Feng authored
      There is a panic opportunity if the timer fires but the socket is
      going through cleanup. In this case `e.route` might go away but the
      timer handler for keep-alive continues to execute and causes panics.
      The fix is to return early from the handler if we find out the route
      is already removed.
      
      PiperOrigin-RevId: 619268432
      ff7dbbfe
    • Jing Chen's avatar
      Make vfio-pci devices mmappable backed by a host FD. · e9020077
      Jing Chen authored
      PiperOrigin-RevId: 619265846
      e9020077
    • gVisor bot's avatar
      Override operator new and delete in tests · edbc2af9
      gVisor bot authored
      This is necessary to ensure errno is not updated while allocating.
      
      Allocators are allowed to update errno, even in case of success. As gvisor
      uses matchers to check the value of errno, the tests might fail if errno is
      overriden by an allocation done while building the matcher. Using a custom
      implementation of new and delete ensures this is not the case.
      
      PiperOrigin-RevId: 619238390
      edbc2af9
    • Jing Chen's avatar
      Increase the RLIMIT_MEMLOCK when TPUProxy is enabled. · cc37e536
      Jing Chen authored
      PiperOrigin-RevId: 619045692
      cc37e536
  8. 25 Mar, 2024 3 commits
  9. 23 Mar, 2024 2 commits
    • gVisor bot's avatar
      Restore errno around allocation in test matchers · e1ffb147
      gVisor bot authored
      Allocation are not guaranteed to preserve errno, even in case of success.
      Because the test matchers test against errno, preserve errno when allocating
      new matchers.
      
      PiperOrigin-RevId: 618437007
      e1ffb147
    • Etienne Perot's avatar
      `Makefile`: `load-%`: Ignore images that do not exist on the current arch. · fe27d980
      Etienne Perot authored
      In a previous change, the GPU images changed from any-architecture to
      x86-only, so they are no longer available on ARM. Therefore, rules like:
      
      ```
      gpu-smoke-images: load-basic_cuda-vector-add load-gpu_cuda-tests
      .PHONY: gpu-smoke-images
      ```
      
      ... Fail if these images don't exist on ARM.
      This change makes the image loading ignored instead.
      
      PiperOrigin-RevId: 618349678
      fe27d980
  10. 22 Mar, 2024 7 commits
  11. 21 Mar, 2024 6 commits
  12. 20 Mar, 2024 4 commits