Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slite and parallel runtime work #402

Open
wants to merge 144 commits into
base: ppos
Choose a base branch
from

Commits on Feb 3, 2018

  1. Configuration menu
    Copy the full SHA
    1d10a97 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fa6012c View commit details
    Browse the repository at this point in the history

Commits on Feb 4, 2018

  1. Configuration menu
    Copy the full SHA
    83503b3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a3f514e View commit details
    Browse the repository at this point in the history

Commits on Feb 5, 2018

  1. Configuration menu
    Copy the full SHA
    72f7eb1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0c1b503 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    17a0a81 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    37d3449 View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2018

  1. Configuration menu
    Copy the full SHA
    b7342e3 View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2018

  1. Review feedback fixes

    phanikishoreg committed Feb 9, 2018
    Configuration menu
    Copy the full SHA
    e15ba5b View commit details
    Browse the repository at this point in the history

Commits on Mar 9, 2018

  1. IOAPIC bugfixes

    phanikishoreg committed Mar 9, 2018
    Configuration menu
    Copy the full SHA
    1ed8310 View commit details
    Browse the repository at this point in the history

Commits on Apr 14, 2018

  1. Merge branch 'ppos' of https://github.com/gwsystems/composite into io…

    …apic
    
    Conflicts RESOLVED:
    	src/platform/i386/hpet.c
    	src/platform/i386/isr.h
    	src/platform/i386/kernel.c
    	src/platform/i386/kernel.h
    	src/platform/i386/lapic.c
    	src/platform/i386/vga.c
    	src/platform/i386/vm.c
    phanikishoreg committed Apr 14, 2018
    Configuration menu
    Copy the full SHA
    1d31ef1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9a48aa2 View commit details
    Browse the repository at this point in the history

Commits on Apr 17, 2018

  1. test

    yzcode committed Apr 17, 2018
    Configuration menu
    Copy the full SHA
    38687de View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2018

  1. set ldr for cores

    yzcode committed Apr 19, 2018
    Configuration menu
    Copy the full SHA
    a77b6c1 View commit details
    Browse the repository at this point in the history

Commits on Apr 21, 2018

  1. finish logical mode

    yzcode committed Apr 21, 2018
    Configuration menu
    Copy the full SHA
    5e89233 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0404169 View commit details
    Browse the repository at this point in the history
  3. remove debug lines

    yzcode committed Apr 21, 2018
    Configuration menu
    Copy the full SHA
    2002aff View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a643b0c View commit details
    Browse the repository at this point in the history
  5. Merge pull request #1 from yzcode/ioapic

    Ioapic api for multi-core and apicid programming
    phanikishoreg committed Apr 21, 2018
    Configuration menu
    Copy the full SHA
    73b339a View commit details
    Browse the repository at this point in the history
  6. Merge pull request gwsystems#346 from phanikishoreg/smp

    Multi-core in llbooter, capmgr, sl, cos_kernel_api(locks) and other related
    gparmer committed Apr 21, 2018
    Configuration menu
    Copy the full SHA
    b52203a View commit details
    Browse the repository at this point in the history

Commits on Apr 23, 2018

  1. fix hpet

    yzcode committed Apr 23, 2018
    2 Configuration menu
    Copy the full SHA
    3f34e15 View commit details
    Browse the repository at this point in the history
  2. fix conflict

    yzcode committed Apr 23, 2018
    Configuration menu
    Copy the full SHA
    43bc767 View commit details
    Browse the repository at this point in the history
  3. fix merge

    yzcode committed Apr 23, 2018
    Configuration menu
    Copy the full SHA
    b6e847a View commit details
    Browse the repository at this point in the history
  4. fix merge 2

    yzcode committed Apr 23, 2018
    Configuration menu
    Copy the full SHA
    29ae53e View commit details
    Browse the repository at this point in the history

Commits on Apr 24, 2018

  1. use non-legacy mode of hpet

    yzcode committed Apr 24, 2018
    Configuration menu
    Copy the full SHA
    d542075 View commit details
    Browse the repository at this point in the history

Commits on Feb 14, 2019

  1. Configuration menu
    Copy the full SHA
    e5d7145 View commit details
    Browse the repository at this point in the history
  2. Prototype for user-level dispatching of kernel-level thread resources

    * Major limitations: no kernel entry allowed at anytime. That could potentially
      screw up things for the "current thread".
    * SCB and DCB are user-level only. Have to enable kernel-user page sharing, TODO!
    * Given these limitations, tested sl_yield(), and the benchmarks look promising.
      With only kernel-level dispatching: AVG: 620, WC:804
      With only user-level dispatching: AVG: 340, WC: 750
      With shared pages, a couple more branches in the kernel-dispatching.
    phanikishoreg committed Feb 14, 2019
    Configuration menu
    Copy the full SHA
    1542f3c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a2c1cd3 View commit details
    Browse the repository at this point in the history
  4. Use RR in sl unit test

    phanikishoreg committed Feb 14, 2019
    Configuration menu
    Copy the full SHA
    735c723 View commit details
    Browse the repository at this point in the history

Commits on Feb 18, 2019

  1. (incomplete) Modifications to have kernel shared DCB and SCB areas

    * TODO: API changes in capmgr for thread creation to pass in the address.
      My design is to let the users/schedulers decide the locality of a thread in
      a dcb region.
      * API changes obviously in the scheduling API, etc!
      * Most importantly, the kernel is not modified to detect an inconsistent state
      of an actual thread running vs the thread kernel thinks is running!
      And other checks for invocations etc!
    
    * But the good news is, it works! Using the same heap allocation type API with no
    special bump pointers or special capability type for SCB/DCB!
    phanikishoreg committed Feb 18, 2019
    Configuration menu
    Copy the full SHA
    45f6535 View commit details
    Browse the repository at this point in the history

Commits on Feb 22, 2019

  1. Fixed user-level dispatch which also works with timer interrupts

    * TODO: use dcb capabilities instead of raw dcb pages
    phanikishoreg committed Feb 22, 2019
    Configuration menu
    Copy the full SHA
    5913090 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d558e3b View commit details
    Browse the repository at this point in the history

Commits on Feb 27, 2019

  1. Configuration menu
    Copy the full SHA
    35bfd0d View commit details
    Browse the repository at this point in the history

Commits on Feb 28, 2019

  1. User-level scheduling synchronization using sched_tok in the SCB

    * TOKEN is only incremented on preemption.
    * TODO: make sure the sched_tok accessed by the kernel is from SCB of
            a scheduling component.
    * Clean up rcvcap sched_counter now! TODO!!
    phanikishoreg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    11e6312 View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2019

  1. scb and dcb capabilities and resources

    * Have SCB capability and resource working.
    * TODO: DCB capabilities to work.
    * TODO: Fix the API around SCB frontier.
    * SCB address in a component will be the start of the heap pointer
      and the INIT DCB (initial dcb caps that are used when creating the
      INIT threads in those components) are next to SCB and statically set
      to be NUM_CPU number of pages. This is the idea to fix their addresses
      and avoid passing in component_information structure.
    phanikishoreg committed Mar 8, 2019
    Configuration menu
    Copy the full SHA
    bedf48e View commit details
    Browse the repository at this point in the history

Commits on Mar 12, 2019

  1. SCB and DCB capabilities

    * Got SCB and DCB capabilities, api all plumbing working!!
    * Some issues to debug, like asserts in my test for hierarchical
      scheduling. (without user-level dispatch!)
    
    * TODO: with user-level dispatch, test in an "application" component
      using capmgr for dcb setup etc!
    phanikishoreg committed Mar 12, 2019
    Configuration menu
    Copy the full SHA
    fb5a7e9 View commit details
    Browse the repository at this point in the history

Commits on Mar 17, 2019

  1. bug in restore function

    phanikishoreg committed Mar 17, 2019
    Configuration menu
    Copy the full SHA
    8023104 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    230cec9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    08174b1 View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2019

  1. Configuration menu
    Copy the full SHA
    28c3f14 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7f40fe0 View commit details
    Browse the repository at this point in the history

Commits on Apr 1, 2019

  1. Current state, with optimized sl_thd_yield

    * TODO: cleanup sl_thd_yield functions that are there for debugging.
    * TODO: uncomment sl_schedule side of functionality
    phanikishoreg committed Apr 1, 2019
    Configuration menu
    Copy the full SHA
    cc23348 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    89adbbc View commit details
    Browse the repository at this point in the history
  3. Removed debug printc

    phanikishoreg committed Apr 1, 2019
    Configuration menu
    Copy the full SHA
    1b8c8c1 View commit details
    Browse the repository at this point in the history

Commits on Apr 2, 2019

  1. Fixed usage of interfaces with return values

    * The pointers passed to the "SINV" call must be at least as small
      as the register sizes as the assembly for SINV writes registers
      back to those pointers.
    phanikishoreg committed Apr 2, 2019
    Configuration menu
    Copy the full SHA
    f1dd90b View commit details
    Browse the repository at this point in the history

Commits on Apr 4, 2019

  1. Configuration menu
    Copy the full SHA
    c5f2589 View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2019

  1. Configuration menu
    Copy the full SHA
    dd3a1f6 View commit details
    Browse the repository at this point in the history
  2. Fixed cos_ulsched_rcv, unit-tested for basic use!

    * TODO: sl_thd_rcv() test!
    phanikishoreg committed Apr 5, 2019
    Configuration menu
    Copy the full SHA
    5bfe50c View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2019

  1. Add OMP & GOMP backend in Composite

    * Fixed some multi-core stuff, need to be up to date with
      rump_cfe_integration branch where I've perhaps more bugs fixed!
    * Added a OMP_HELLO program which is simple and just prints out HELLO.
    * COS_GOMP really doesn't do anything multi-core for now!
    phanikishoreg committed Apr 18, 2019
    Configuration menu
    Copy the full SHA
    43096d8 View commit details
    Browse the repository at this point in the history

Commits on Apr 21, 2019

  1. Adds omp_dijkstra and more in gomp library

    * TODO: make the cos_gomp bookkeep for each "TEAM" and also enable
            cross-core execution!
    phanikishoreg committed Apr 21, 2019
    Configuration menu
    Copy the full SHA
    656f5eb View commit details
    Browse the repository at this point in the history

Commits on Apr 22, 2019

  1. Configuration menu
    Copy the full SHA
    a5f3180 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c6d0047 View commit details
    Browse the repository at this point in the history

Commits on Apr 23, 2019

  1. Merge branch 'smp-ioapic' of https://github.com/gwsystems/composite i…

    …nto ppos
    
    * Plus, modified serial baudrate to 115200kbps
    phanikishoreg committed Apr 23, 2019
    Configuration menu
    Copy the full SHA
    f1ba822 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4c83c03 View commit details
    Browse the repository at this point in the history
  3. 32bit compilation on a 64bit system

    * NOTE: include changes in ps library also!
    phanikishoreg committed Apr 23, 2019
    Configuration menu
    Copy the full SHA
    39e86e2 View commit details
    Browse the repository at this point in the history
  4. Merge branch 'usched_work' of https://github.com/phanikishoreg/composite

     into ppos
    
    Resoved conflicts, now, time to test functionality!
    phanikishoreg committed Apr 23, 2019
    Configuration menu
    Copy the full SHA
    a66997a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    579d364 View commit details
    Browse the repository at this point in the history

Commits on Apr 29, 2019

  1. Configuration menu
    Copy the full SHA
    0c75f1d View commit details
    Browse the repository at this point in the history

Commits on May 6, 2019

  1. Initial Composite RunTime (crt) support for block points and mutexes

    - blockpoints added, along with a simple lock on top
    - added blkpts to sl to support the blkpt library
    - added a stacklist for stack-allocated block-tracking structures
    gparmer committed May 6, 2019
    Configuration menu
    Copy the full SHA
    4022a73 View commit details
    Browse the repository at this point in the history
  2. Refined the tests for the blkpt-based lock implementation.

    Note that this is currently NOT multi-core safe as it relies on the sl
    critical section. Will need to change the stacklist to track trebor
    stacks of threads to work for multi-core.
    gparmer committed May 6, 2019
    Configuration menu
    Copy the full SHA
    36a980c View commit details
    Browse the repository at this point in the history

Commits on May 7, 2019

  1. Maked one aspect of blockpoints work on multi-core: blocked thread tr…

    …acking
    
    - Simply used a Treiber Stack (CAS-driven stack) that doesn't have ABA
      problems given the blocking behavior of threads.
    - Remaining problem: we don't use `sl`'s support to wake threads
      across cores.
    gparmer committed May 7, 2019
    Configuration menu
    Copy the full SHA
    1f721c5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ecce29d View commit details
    Browse the repository at this point in the history

Commits on May 8, 2019

  1. part: parallel runtime in composite, first draft

    * with usage in cos_gomp
    * TODO: pretty much everything!
    phanikishoreg committed May 8, 2019
    Configuration menu
    Copy the full SHA
    4f1820f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7c0e7f7 View commit details
    Browse the repository at this point in the history

Commits on May 9, 2019

  1. Configuration menu
    Copy the full SHA
    98169a7 View commit details
    Browse the repository at this point in the history

Commits on May 10, 2019

  1. Configuration menu
    Copy the full SHA
    a2b6e58 View commit details
    Browse the repository at this point in the history

Commits on May 11, 2019

  1. Configuration menu
    Copy the full SHA
    81279e0 View commit details
    Browse the repository at this point in the history

Commits on May 12, 2019

  1. Added primitive, blocking message queue support

    - Asynchronous by default, and blocking on boundary conditions (queue full/empty)
    - Macros to inline most of the channel logic and enable the magic of constant propagation
    - Simple implementation for a single producer, single consumer
    gparmer committed May 12, 2019
    Configuration menu
    Copy the full SHA
    4b2fb90 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    869e7ab View commit details
    Browse the repository at this point in the history

Commits on May 14, 2019

  1. Configuration menu
    Copy the full SHA
    d0fbd49 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6632a20 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3467e07 View commit details
    Browse the repository at this point in the history
  4. part: idle thread on all cores to wakeup threads using sl_mod_part_fifo

    * sl_mod_part_fifo tracks a single idle thread per core which is
    scheduled when there is nothing else on that core to run.
    phanikishoreg committed May 14, 2019
    Configuration menu
    Copy the full SHA
    f979d29 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    efcde0b View commit details
    Browse the repository at this point in the history

Commits on May 15, 2019

  1. fix a race in dequeue

    phanikishoreg committed May 15, 2019
    Configuration menu
    Copy the full SHA
    3482929 View commit details
    Browse the repository at this point in the history
  2. Thread migration kernel and user-level

    * BIG TODO: Test it's working!
    phanikishoreg committed May 15, 2019
    Configuration menu
    Copy the full SHA
    648eef6 View commit details
    Browse the repository at this point in the history
  3. use global main_task if no nesting for outer parallel construct

    * This is to avoid locks in common case.
    * inner parallel structs will use stack for part_task but they're
      not going to be added into the main list as they're going to
      be run by the master thread
    phanikishoreg committed May 15, 2019
    Configuration menu
    Copy the full SHA
    d19c3a3 View commit details
    Browse the repository at this point in the history
  4. For migration, previously changed thd cap's size to take one full cache

    line.
    
    * But I didn't fix INIT caps and I didn't test any of it in the last commit.
    * per-core caps have to be on seperate cache lines, now, with thread
    migration and reuse of a capability, changed thread to use a full cache
    line.
    * initthd, inittcap both occupy 64B cacheline.
    * For the other caps, cos_kernel_api does size based and core-based
    frontiers, so we're good.
    
    * Trade off: If a thread is migrated across multiple cores, and if we
      freshly create per-core capability slot on each migration, we'd
    probably be wasting a lot of space especially if we don't use that
    core-local capability.
      In this simple(??) design though, we use a single capability that is as
    big as a cache line and modify coreid on it to make it a core-local for
    migrated core.
    phanikishoreg committed May 15, 2019
    Configuration menu
    Copy the full SHA
    14128a5 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    11a1623 View commit details
    Browse the repository at this point in the history
  6. Fixed blocking and now fibonacci is way faster

    * idea is, if we're the only thread on the current core and
      we're yielding: it just means we're at a barrier or some sync
      point. So let's just try and run the idle thread which will
      wakeup other thread.
      Thread that wakes up, tries work and if there is none, will block
      again waiting to be woken up by the idle thread!
    phanikishoreg committed May 15, 2019
    Configuration menu
    Copy the full SHA
    218490e View commit details
    Browse the repository at this point in the history
  7. Bumped up number of cores.

    This macro should be in a separate header and part of git-ignore so
    we don't need to commit this file for our changes.
    phanikishoreg committed May 15, 2019
    Configuration menu
    Copy the full SHA
    2f7c761 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    d88f400 View commit details
    Browse the repository at this point in the history
  9. yield api with timeout to program timers

    * everything else uses non-timeout fast-user-dispatch api
    phanikishoreg committed May 15, 2019
    Configuration menu
    Copy the full SHA
    e2af6f8 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    9b4d023 View commit details
    Browse the repository at this point in the history
  11. use heap for deque

    phanikishoreg committed May 15, 2019
    Configuration menu
    Copy the full SHA
    8f870d8 View commit details
    Browse the repository at this point in the history

Commits on May 16, 2019

  1. Configuration menu
    Copy the full SHA
    fefa23d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    48bdcbc View commit details
    Browse the repository at this point in the history
  3. change to upcas in deque for core-local push/pop

    * i had previously changed it to multi-core cas for some debugging,
      forgot to revert back.
    phanikishoreg committed May 16, 2019
    Configuration menu
    Copy the full SHA
    271f23c View commit details
    Browse the repository at this point in the history

Commits on May 17, 2019

  1. Configuration menu
    Copy the full SHA
    c91f6eb View commit details
    Browse the repository at this point in the history
  2. Modified part to use blocking vs yielding for synchronization

    * using cross-core asnds for wakeup results in general-protection fault.
      TODO: debug and fix that.
    phanikishoreg committed May 17, 2019
    Configuration menu
    Copy the full SHA
    bc0ae03 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    25b108c View commit details
    Browse the repository at this point in the history

Commits on May 18, 2019

  1. consistency fix in lazy restore for preemption

    THIS DOES NOT SOLVE THE PROBLEM WITH IPIs I'VE RIGHT NOW
    phanikishoreg committed May 18, 2019
    Configuration menu
    Copy the full SHA
    d6a64fb View commit details
    Browse the repository at this point in the history
  2. Fixed explicit task allocation to use per-core list

    * ps_slab usage has problems, i couldn't get it to work correctly.
      will get to that eventually.
    * STILL NO CLUE ON THE IPI PREEMPTION PROBLEM, just pushing the
      current working code without IPIs.
    phanikishoreg committed May 18, 2019
    Configuration menu
    Copy the full SHA
    93c5203 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    31dc99c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8779376 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    7776e50 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    99af5e8 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    223b7d3 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    abb169b View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    363767e View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    1a4aa60 View commit details
    Browse the repository at this point in the history
  11. Multiple wakeups cause race in SL.

    * with multi-core execution, a thread executing parent task could be
      woken up multiple times by threads on other cores finishing up
      with the child tasks before master goes to synchronize.
      For now, fixed the way I fixed it long back in voter code.
    
    * I don't know if this problem will go away if we use blockpoints
      for parent-child sync, but will try that.
    phanikishoreg committed May 18, 2019
    Configuration menu
    Copy the full SHA
    51f6cd9 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    1dd7c44 View commit details
    Browse the repository at this point in the history
  13. Multiple wakeups cause race in SL.

    * with multi-core execution, a thread executing parent task could be
      woken up multiple times by threads on other cores finishing up
      with the child tasks before master goes to synchronize.
      For now, fixed the way I fixed it long back in voter code.
    
    * perhaps use of blockpoints will solve this problem? lets see!
    phanikishoreg committed May 18, 2019
    Configuration menu
    Copy the full SHA
    48cd69b View commit details
    Browse the repository at this point in the history

Commits on May 19, 2019

  1. fix comment

    phanikishoreg committed May 19, 2019
    Configuration menu
    Copy the full SHA
    7dffdb4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    84d860e View commit details
    Browse the repository at this point in the history

Commits on May 20, 2019

  1. Fixed? :Thread blocking when it is already blocked

    * reverted thread capability size back to 16B. Gabe said we
      probably don't need to do that. So!
    
    * There is a strange block->block problem and it seems to very
      much relate to the return value of the dispatch function obviously.
      However, I'm not clear why the return value could be 0 and the
      thread that we returned to is not runnable! Something strange with
      thread releasing critical section and the time between release to
      actual dispatch that could cause additional dispatches or some state
      change. I'd think that it will not cause problems but for now, I
      have a workaround that says if the thread is not runnable upon
      return from dispatch, just return error.
    phanikishoreg committed May 20, 2019
    Configuration menu
    Copy the full SHA
    7bc6a9d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ed7191c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f4554e4 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e1bf367 View commit details
    Browse the repository at this point in the history

Commits on May 21, 2019

  1. Configuration menu
    Copy the full SHA
    4bf72b0 View commit details
    Browse the repository at this point in the history

Commits on May 22, 2019

  1. Fixed user-level sl_thd_rcv

    * To return 0 on wakeup like cos_rcv does.
    * On non-blocking case, to return -EAGAIN at user-level.
    phanikishoreg committed May 22, 2019
    Configuration menu
    Copy the full SHA
    3269cd1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7c5d142 View commit details
    Browse the repository at this point in the history
  3. SparseLU works but is not stable (remember to bump up number of tasks to

    8k)
    
    * it says successful sometimes, failed sometimes.
    phanikishoreg committed May 22, 2019
    Configuration menu
    Copy the full SHA
    357676b View commit details
    Browse the repository at this point in the history
  4. makefile fix: cannot clean ps on distclean (first time)

    * I recently added that rule to clean ps on distclean but I didn't
      realize it wont work on fresh clone, for now reverting it.
    phanikishoreg committed May 22, 2019
    Configuration menu
    Copy the full SHA
    e05963a View commit details
    Browse the repository at this point in the history

Commits on May 23, 2019

  1. Configuration menu
    Copy the full SHA
    8dc3f88 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8e28bcf View commit details
    Browse the repository at this point in the history

Commits on May 24, 2019

  1. Configuration menu
    Copy the full SHA
    3ad80d2 View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2019

  1. Configuration menu
    Copy the full SHA
    ba5ef18 View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2019

  1. Configuration menu
    Copy the full SHA
    fd0aa64 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d15bdf8 View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2019

  1. possible working sl_sched_rcv

    - TODO: test interrupt to sched (direct) switch..
    phanikishoreg committed Sep 16, 2019
    Configuration menu
    Copy the full SHA
    6d588a8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1268b9b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    dcd1d5e View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2019

  1. Configuration menu
    Copy the full SHA
    94e3a54 View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2019

  1. Merge branch 'slite' of https://github.com/phanikishoreg/composite in…

    …to slite
    
    Conflicts:
    	src/components/implementation/tests/unit_slrcv/Makefile
    	src/components/implementation/tests/unit_slrcv/init.c
    	src/components/include/sl.h
    	src/components/lib/sl/sl_sched.c
    	src/platform/i386/runscripts/unit_slite01.sh
    phanikishoreg committed Sep 20, 2019
    Configuration menu
    Copy the full SHA
    6f65807 View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2019

  1. crt_chan interface for standard in and out

    * TODO! invocation + switch!
    phanikishoreg committed Sep 24, 2019
    Configuration menu
    Copy the full SHA
    b8a791e View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2019

  1. invocations + slite switch

    * if ulthd != kthd, get the comp_info of the ulthd to proceed from
      lazyupdate!!
    phanikishoreg committed Sep 30, 2019
    Configuration menu
    Copy the full SHA
    6520d9e View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2019

  1. Configuration menu
    Copy the full SHA
    e5fbdc9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e092711 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4be00fd View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2019

  1. Configuration menu
    Copy the full SHA
    291e21b View commit details
    Browse the repository at this point in the history
  2. Timers disabled coz of cos_thd_switch in ul switch

    * pass the timeout with the api to call slowpath kernel switch
    * make sure cos_rcv is called with the sched timer in cos_ul_rcv.
    * if cos_rcv is switching back to the scheduler, do not disable the
      timer.
    * there seem to be some cases, where switching to a tcap with infinite
      budget is disabling timer somewhere. It happens when tcap has inf budget
      and timeout is set to NIL. Timeout should be set appropriately!
      This will disable the timer programmed previously.
    phanikishoreg committed Oct 3, 2019
    Configuration menu
    Copy the full SHA
    a2d2286 View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2019

  1. Configuration menu
    Copy the full SHA
    59de0a3 View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2019

  1. Configuration menu
    Copy the full SHA
    57f3023 View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2019

  1. disable tcap check

    phanikishoreg committed Oct 18, 2019
    Configuration menu
    Copy the full SHA
    529ae44 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3ed8962 View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2019

  1. Configuration menu
    Copy the full SHA
    89a2ee2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b9b9006 View commit details
    Browse the repository at this point in the history

Commits on May 20, 2020

  1. Configuration menu
    Copy the full SHA
    11f53b4 View commit details
    Browse the repository at this point in the history

Commits on May 21, 2020

  1. Configuration menu
    Copy the full SHA
    6d500f4 View commit details
    Browse the repository at this point in the history

Commits on May 22, 2020

  1. Merge branch 'ppos' of https://github.com/gwsystems/composite into part

    * resolved conflicts
    * fixed bugs and made necessary changes to use slite.
      for ex: cos_sched_rcv now adds events to the ring buffer, so fixed the
    kernel-test for tcaps to use that.
    phanikishoreg committed May 22, 2020
    Configuration menu
    Copy the full SHA
    da5c2a4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bb1476b View commit details
    Browse the repository at this point in the history